Reference Manual - 1.0.1
IDirectFBDataBuffer   GetData

Fetch data from a streaming or static buffer.
从静态或流缓冲 中取出数据

GetData (
  IDirectFBDataBuffer   * thiz,
  unsigned int   length,
  void   * ret_data,
  unsigned int   * ret_read
);

Static buffers will increase the data pointer. Streaming buffers will flush the data portion.
静态缓冲增加数据指针,流缓冲刷新数据部分

The maximum number of bytes to fetch is specified by "length", the actual number of bytes fetched is returned via "read".
返回最大字节数由"length"指定,实际取得的字节数通过"read".返回。

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License