![]() | Reference Manual - 1.0.0 | ||
|
Peek data from a streaming or static buffer.
PeekData ( | ||||
IDirectFBDataBuffer | * | thiz, | ||
unsigned int | length, | |||
int | offset, | |||
void | * | ret_data, | ||
unsigned int | * | ret_read | ||
); |
Unlike GetData() this method won't increase the data pointer or flush any portions of the data held.
Additionally an offset relative to the current data pointer or beginning of the streaming buffer can be specified.
The maximum number of bytes to peek is specified by "length", the actual number of bytes peeked is returned via "read".