PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ bytebuffer_append_byte()

void bytebuffer_append_byte ( bytebuffer_t s,
const uint8_t  val 
)

Writes a uint8_t value to the buffer.

Definition at line 197 of file bytebuffer.c.

198 {
199  LWDEBUGF(2,"Entered bytebuffer_append_byte with value %d", val);
201  *(s->writecursor)=val;
202  s->writecursor += 1;
203  return;
204 }
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.

Referenced by lwgeom_write_to_buffer(), and ptarray_to_twkb_buf().

Here is the call graph for this function:
Here is the caller graph for this function: