|
ZVBI Library 0.2.46
|
Data Fields | |
| char * | data |
| size_t | offset |
| size_t | capacity |
Output buffer. Export modules can write into this buffer directly after ensuring sufficient capacity, and/or call the vbi_export_putc() etc functions. Keep in mind these functions may call realloc(), changing the data pointer, and/or vbi_export_flush(), changing the offset.
| char* vbi_export::[struct].buffer data |
Pointer to the start of the buffer in memory. NULL if capacity is zero.
| size_t vbi_export::[struct].buffer offset |
The number of bytes written into the buffer so far. Must be <= capacity.
| size_t vbi_export::[struct].buffer capacity |
Number of bytes we can store in the buffer, may be zero.
Call _vbi_export_grow_buffer_space() to increase the capacity. Keep in mind this may change the data pointer.