public HPDF_STATUS readFromStream(
    ubyte* buf, 
    uint* size)

Copies the data from the temporary stream of the document into a buffer.

Parameters

buf

Pointer to the buffer

size

Size of the buffer