|
Volksdata 1.0b7
RDF library
|
General-purpose data buffer. More...
#include <buffer.h>
Data Fields | |
| unsigned char * | addr |
| size_t | size |
| VOLK_BufferFlag | flags |
General-purpose data buffer.
The structure is transparently exposed so that the related API only defines few basic helper methods. Other operations, such as appending, may be performed by simply using the addr and size attributes.
A buffer can be initialized once and reused multiple times, e.g. in a loop, without being freed between iterations, by using VOLK_buffer_init.
| VOLK_BufferFlag VOLK_Buffer::flags |