| Reference Manual - 1.0.1 | ||
| |||
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.
不像GetData()这个不增加数据指针或刷新数据任何部分
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".
查证的最大字节数由"length"指定,实际字节数由"read"返回。
| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License |