http://www.directfb.org
index.html
DirectFB Reference Manual
IDirectFBDataBuffer.html
IDirectFBDataBuffer
PeekData
Peek data from a streaming or static buffer.
PeekData (
IDirectFBDataBuffer.html
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".
