Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
VOLK_Buffer Struct Reference

General-purpose data buffer. More...

#include <buffer.h>

Data Fields

unsigned char * addr
size_t size
VOLK_BufferFlag flags

Detailed Description

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.

Definition at line 47 of file buffer.h.

Field Documentation

◆ addr

unsigned char* VOLK_Buffer::addr

Definition at line 48 of file buffer.h.

◆ size

size_t VOLK_Buffer::size

Definition at line 49 of file buffer.h.

◆ flags

VOLK_BufferFlag VOLK_Buffer::flags

Definition at line 50 of file buffer.h.


The documentation for this struct was generated from the following file: