![]() | Reference Manual - 1.2.7 | ||
|
DFBResult 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".
![]() | This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License |