PostGIS  2.3.7dev-r@@SVN_REVISION@@
void bytebuffer_append_bulk ( bytebuffer_t s,
void *  start,
size_t  size 

Writes a uint8_t value to the buffer.

Definition at line 159 of file bytebuffer.c.

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

160 {
161  LWDEBUGF(2,"bytebuffer_append_bulk with size %d",size);
162  bytebuffer_makeroom(s, size);
163  memcpy(s->writecursor, start, size);
164  s->writecursor += size;
165  return;
166 }
uint8_t * writecursor
Definition: bytebuffer.h:41
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88
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:119

Here is the call graph for this function: