![]() | Reference Manual - 0.9.25 | ||
|
Fetch data from a streaming or static buffer.
GetData ( | ||||
IDirectFBDataBuffer | * | thiz, | ||
unsigned int | length, | |||
void | * | ret_data, | ||
unsigned int | * | ret_read | ||
); |
Static buffers will increase the data pointer. Streaming buffers will flush the data portion.
The maximum number of bytes to fetch is specified by "length", the actual number of bytes fetched is returned via "read".