PostGIS 3.7.0dev-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 116 of file bytebuffer.c.

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

References bytebuffer_getlength(), and s.

Here is the call graph for this function: