PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
bytebuffer_t* bytebuffer_create_with_size | ( | size_t | size | ) |
Allocate a new bytebuffer_t.
Use bytebuffer_destroy to free.
Definition at line 44 of file bytebuffer.c.
References bytebuffer_t::buf_start, bytebuffer_t::buf_static, BYTEBUFFER_STATICSIZE, bytebuffer_t::capacity, lwalloc(), LWDEBUGF, bytebuffer_t::readcursor, s, and bytebuffer_t::writecursor.
Referenced by bytebuffer_create(), and bytebuffer_merge().