| Reference Manual - 1.0.1 | ||
| |||
No summary yet...
| Methods of IDirectFBDataBuffer IDirectFBDataBuffe的方法 |
||
|---|---|---|
|
Buffer handling 缓冲控制 | Flush |
Flushes all data in this buffer.
刷新缓冲的所有数据 |
| Finish |
Finish writing into a streaming buffer. 终止写入流缓冲 |
|
| SeekTo |
Seeks to a given byte position.
定位到指定的位置 |
|
| GetPosition |
Get the current byte position within a static buffer. 取得静态缓冲内当前位置 | |
| GetLength |
Get the length of a static or streaming buffer in bytes.
取得静态或流态缓冲长度字节数 |
|
|
Waiting for data 等待数据 | WaitForData |
Wait for data to be available. Thread is idle in the meantime. 等待数据有效,在期间线程闲置状态 |
| WaitForDataWithTimeout |
Wait for data to be available within an amount of time. Thread is idle in the meantime.
在一个时间内等待数据有效,期间线程闲置状态 |
|
|
Retrieving data 接受数据 | GetData |
Fetch data from a streaming or static buffer. 从静态或流缓冲 中取出数据 |
| PeekData |
Peek data from a streaming or static buffer. 从静态或流缓冲查证数据 |
|
| HasData |
Check if there is data available.
检测数据是否有效 |
|
|
Providing data 提供数据 | PutData |
Appends a block of data to a streaming buffer.
追加数据块到流缓冲 |
|
Media from data 数据媒体 | CreateImageProvider |
Creates an image provider using the buffers data.
用数据缓冲创建图片装备容器 |
| CreateVideoProvider |
Creates a video provider using the buffers data. 用数据缓冲创建视频装备容器 |
|
| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License |