Creates a new GMimeStreamBuffer object.
Returns this, for use in with statements.
Get builder for gmime.stream_buffer.StreamBuffer
Returns this, for use in with statements.
Get builder for gmime.stream.Stream
Reads in at most one less than max characters from stream and stores them into the buffer pointed to by buf. Reading stops after an EOS or newline ('\n'). If a newline is read, it is stored into the buffer. A '\0' is stored after the last character in the buffer.
Reads a single line into buffer.
Closes the stream.
Initializes a new stream with bounds start and end.
Tests the end-of-stream indicator for stream.
Sync's the stream to disk.
Gets the length of the stream.
Attempts to read up to len bytes from stream into buf.
Resets the stream.
Repositions the offset of the stream stream to the argument offset according to the directive whence as follows:
Set the bounds on a stream.
Creates a new substream of stream with bounds start and end.
Gets the current offset within the stream.
Attempts to write up to len bytes of buf to stream.
Writes string to stream.
Attempts to write the source stream to the destination stream.
Writes at most count blocks described by vector to stream.
A buffered stream wrapper around any #GMimeStream object.