%TRUE if encoding or %FALSE if decoding
the type of encoding
saved bytes from the previous step
current encder/decoder state
a temporary buffer needed when uuencoding data
Completes the incremental encode or decode of the input stream (see g_mime_encoding_step() for details).
an input buffer to encode or decode
input buffer length
an output buffer
Initializes a #GMimeEncoding state machine for decoding from
encoding
.
a #GMimeContentEncoding to use
Initializes a #GMimeEncoding state machine for encoding to
encoding
.
a #GMimeContentEncoding to use
Given the input length, inlen,
calculate the needed output length
to perform an encoding or decoding step.
an input length
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.
You should make sure outbuf
is large enough by calling
g_mime_encoding_outlen() to find out how large outbuf
might need
to be.
an input buffer to encode or decode
input buffer length
an output buffer
Decodes a chunk of base64 encoded data.
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been decoded
Base64 encodes the input stream to the output stream. Call this when finished encoding data with g_mime_encoding_base64_encode_step() to flush off the last little bit.
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been encoded
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).
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been encoded
Decodes a block of quoted-printable encoded data. Performs a 'decode step' on a chunk of QP encoded data.
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been decoded
Quoted-printable encodes a block of text. Call this when finished encoding data with g_mime_encoding_quoted_encode_step() to flush off the last little bit.
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been encoded
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).
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been encoded
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.
input buffer
input buffer length
output buffer
holds the number of bits that are stored in save
leftover bits that have not yet been decoded
Uuencodes a chunk of data. Call this when finished encoding data with g_mime_encoding_uuencode_step() to flush off the last little bit.
input buffer
input buffer length
output buffer
temporary buffer of 60 bytes
holds the number of bits that are stored in save
leftover bits that have not yet been encoded
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).
input buffer
input buffer length
output stream
temporary buffer of 60 bytes
holds the number of bits that are stored in save
leftover bits that have not yet been encoded
A context used for encoding or decoding data.