PostGIS  2.5.7dev-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.

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 }
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
char * s
Definition: cu_in_wkt.c:23
#define LWDEBUGF(level, msg,...)
Definition: lwgeom_log.h:88

References bytebuffer_makeroom(), LWDEBUGF, and s.

Here is the call graph for this function: