Function

Camelquoted_decode_step

Declaration [src]

gsize
camel_quoted_decode_step (
  guchar* in,
  gsize len,
  guchar* out,
  gint* savestate,
  gint* saveme
)

Description [src]

Decodes a block of quoted-printable encoded data. Performs a ‘decode step’ on a chunk of QP encoded data.

Parameters

in

Type: An array of guchar

Input stream.

The length of the array is specified in the len argument.
The data is owned by the caller of the function.
len

Type: gsize

Max length of data to decode.

out

Type: An array of guchar

Output stream.

The argument will be modified by the function.
The called function takes ownership of the data, and is responsible for freeing it.
savestate

Type: gint*

Holds the number of bits that are stored in saveme.

The argument will be modified by the function.
saveme

Type: An array of gint

Leftover bits that have not yet been decoded.

The argument will be modified by the function.
The length of the array is specified in the savestate argument.
The called function takes ownership of the data, and is responsible for freeing it.

Return value

Type: gsize

The number of bytes decoded.