Read at most len
bytes from the internal mime parser buffer.
Returns the address of the internal buffer in databuffer
, and the length of useful data.
len
may be specified as g_maxssize, in which case you will get the full remainder of the
buffer at each call.
Note that no parsing of the data read through this function occurs, so no state changes occur, but the seek position is updated appropriately.
this |
MIME parser object |
databuffer |
The data buffer |
len |
The length of data to read |
The number of bytes available, or -1 on error. |