dc_buffer_get_data man page
dc_buffer_get_data — get the data of a buffer
unsigned char *
Get the data used by buffer, previously allocated with dc_buffer_new(3). For the buffer size, use dc_buffer_get_size(3).
The returned pointer is not valid after subsequent calls to change the buffer.
Returns the data or
NULL if buffer is
NULL or no data has been allocated to the buffer.
The library “libdivecomputer” library was written by Jef Driesen, email@example.com. The manpages were written by
Kristaps Dzonsons, firstname.lastname@example.org.