PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ bytebuffer_append_uvarint()

void bytebuffer_append_uvarint ( bytebuffer_t b,
const uint64_t  val 

Writes a unsigned varInt to the buffer.

Definition at line 250 of file bytebuffer.c.

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

Referenced by lwcollection_to_twkb_buf(), lwgeom_write_to_buffer(), lwmulti_to_twkb_buf(), lwpoly_to_twkb_buf(), and ptarray_to_twkb_buf().

251 {
252  bytebuffer_makeroom(b, 16);
254  return;
255 }
uint8_t * writecursor
Definition: bytebuffer.h:42
size_t varint_u64_encode_buf(uint64_t val, uint8_t *buf)
Definition: varint.c:76
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:
Here is the caller graph for this function: