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

◆ bytebuffer_get_buffer()

const uint8_t * bytebuffer_get_buffer ( const bytebuffer_t s,
size_t *  buffer_length 
)

Returns a read-only reference to the internal buffer.

Definition at line 117 of file bytebuffer.c.

118{
119 if ( buffer_length )
120 *buffer_length = bytebuffer_getlength(s);
121 return s->buf_start;
122}
size_t bytebuffer_getlength(const bytebuffer_t *s)
Returns the length of the current buffer.
Definition bytebuffer.c:177
char * s
Definition cu_in_wkt.c:23

References bytebuffer_getlength(), and s.

Here is the call graph for this function: