PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
Go to the source code of this file.
Functions | |
void | bytebuffer_init_with_size (bytebuffer_t *s, size_t size) |
Allocate just the internal buffer of an existing bytebuffer_t struct. More... | |
void | bytebuffer_destroy_buffer (bytebuffer_t *s) |
Free the bytebuffer_t and all memory managed within it. More... | |
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. More... | |
uint8_t * | bytebuffer_get_buffer_copy (const bytebuffer_t *s, size_t *buffer_length) |
Returns a copy of the internal buffer. More... | |
const uint8_t * | bytebuffer_get_buffer (const bytebuffer_t *s, size_t *buffer_length) |
Returns a read-only reference to the internal buffer. More... | |
void | bytebuffer_append_byte (bytebuffer_t *s, const uint8_t val) |
Writes a uint8_t value to the buffer. More... | |
void | bytebuffer_append_bytebuffer (bytebuffer_t *write_to, bytebuffer_t *write_from) |
Writes a uint8_t value to the buffer. More... | |
void | bytebuffer_append_varint (bytebuffer_t *b, const int64_t val) |
Writes a signed varInt to the buffer. More... | |
void | bytebuffer_append_uvarint (bytebuffer_t *b, const uint64_t val) |
Writes a unsigned varInt to the buffer. More... | |
size_t | bytebuffer_getlength (const bytebuffer_t *s) |
Returns the length of the current buffer. More... | |