Reference Manual - 1.0.0
IDirectFBDataBuffer   GetLength

Get the length of a static or streaming buffer in bytes.

GetLength (
  IDirectFBDataBuffer   * thiz,
  unsigned int   * ret_length
);

The length of a static buffer is its static size. A streaming buffer has a variable length reflecting the amount of buffered data.