Copies the data from the temporary stream of the document into a buffer.
Pointer to the buffer
Size of the buffer
See Implementation
Copies the data from the temporary stream of the document into a buffer.