PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ 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 127 of file bytebuffer.c.

128{
129 LWDEBUGF(2,"Entered bytebuffer_append_byte with value %d", val);
131 *(s->writecursor)=val;
132 s->writecursor += 1;
133 return;
134}
static void bytebuffer_makeroom(bytebuffer_t *s, size_t size_to_add)
If necessary, expand the bytebuffer_t internal buffer to accommodate the specified additional size.
Definition bytebuffer.c:72
char * s
Definition cu_in_wkt.c:23
#define LWDEBUGF(level, msg,...)
Definition lwgeom_log.h:106

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: