PostGIS  2.5.0dev-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 211 of file bytebuffer.c.

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

212 {
213  LWDEBUGF(2,"bytebuffer_append_bulk with size %d",size);
214  bytebuffer_makeroom(s, size);
215  memcpy(s->writecursor, start, size);
216  s->writecursor += size;
217  return;
218 }
uint8_t * writecursor
Definition: bytebuffer.h:42
#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:140
Here is the call graph for this function: