Completes the incremental encode or decode of the input stream (see gmime.encoding.Encoding.step for details).
Initializes a #GMimeEncoding state machine for decoding from encoding.
Initializes a #GMimeEncoding state machine for encoding to encoding.
Given the input length, inlen, calculate the needed output length to perform an encoding or decoding step.
Resets the state of the #GMimeEncoding.
Incrementally encodes or decodes (depending on state) an input stream by 'stepping' through a block of input at a time.
Decodes a chunk of base64 encoded data.
Base64 encodes the input stream to the output stream. Call this when finished encoding data with gmime.encoding.Encoding.base64EncodeStep to flush off the last little bit.
Base64 encodes a chunk of data. Performs an 'encode step', only encodes blocks of 3 characters to the output at a time, saves left-over state in state and save (initialise to 0 on first invocation).
Decodes a block of quoted-printable encoded data. Performs a 'decode step' on a chunk of QP encoded data.
Quoted-printable encodes a block of text. Call this when finished encoding data with gmime.encoding.Encoding.quotedEncodeStep to flush off the last little bit.
Quoted-printable encodes a block of text. Performs an 'encode step', saves left-over state in state and save (initialise to -1 on first invocation).
Uudecodes a chunk of data. Performs a 'decode step' on a chunk of uuencoded data. Assumes the "begin mode filename" line has been stripped off.
Uuencodes a chunk of data. Call this when finished encoding data with gmime.encoding.Encoding.uuencodeStep to flush off the last little bit.
Uuencodes a chunk of data. Performs an 'encode step', only encodes blocks of 45 characters to the output at a time, saves left-over state in uubuf, state and save (initialize to 0 on first invocation).
A context used for encoding or decoding data.