PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ bytebuffer_append_bulk()

void bytebuffer_append_bulk ( bytebuffer_t s,
void *  start,
size_t  size 

Writes a uint8_t value to the buffer.

Definition at line 171 of file bytebuffer.c.

References bytebuffer_makeroom(), LWDEBUGF, and bytebuffer_t::writecursor.

172 {
173  LWDEBUGF(2,"bytebuffer_append_bulk with size %d",size);
174  bytebuffer_makeroom(s, size);
175  memcpy(s->writecursor, start, size);
176  s->writecursor += size;
177  return;
178 }
uint8_t * writecursor
Definition: bytebuffer.h:53
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:55
static void bytebuffer_makeroom(bytebuffer_t *s, size_t size_to_add)
If necessary, expand the bytebuffer_t internal buffer to accomodate the specified additional size...
Definition: bytebuffer.c:131
Here is the call graph for this function: