PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
void bytebuffer_init_with_size | ( | bytebuffer_t * | s, |
size_t | size | ||
) |
Allocate just the internal buffer of an existing bytebuffer_t struct.
Useful for allocating short-lived bytebuffers off the stack.
Definition at line 71 of file bytebuffer.c.
References BYTEBUFFER_STATICSIZE, lwalloc(), and s.
Referenced by lwgeom_to_twkb_with_idlist(), lwgeom_write_to_buffer(), and ptarray_to_twkb_buf().