| Reference Manual - 1.4.13
IDirectFBDataBuffer | GetData

#### Fetch data from a streaming or static buffer.

DFBResult 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".

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