Reference Manual - 1.0.0
IDirectFBDataBuffer   Finish

Finish writing into a streaming buffer.

Finish (
  IDirectFBDataBuffer   * thiz
);

Subsequent calls to PutData will fail, while attempts to fetch data from the buffer will return EOF unless there is still data available.