Function
Cameluuencode_close
Declaration [src]
gsize
camel_uuencode_close (
guchar* in,
gsize len,
guchar* out,
guchar* uubuf,
gint* state,
guint32* save
)
Description [src]
Uuencodes a chunk of data. Call this when finished encoding data with camel_uuencode_step() to flush off the last little bit.
Parameters
in-
Type: An array of
gucharInput stream.
The length of the array is specified in the lenargument.The data is owned by the caller of the function. len-
Type:
gsizeInput stream length.
out-
Type: An array of
gucharOutput stream.
The argument will be modified by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it. uubuf-
Type: An array of
gucharTemporary buffer of 60 bytes.
The argument will be modified by the function. The array must have 60 elements. The caller of the function takes ownership of the returned data, and is responsible for freeing it. state-
Type:
gint*Holds the number of bits that are stored in
save.The argument will be modified by the function. save-
Type: An array of
guint32Leftover bits that have not yet been encoded.
The argument will be modified by the function. The length of the array is specified in the stateargument.The caller of the function takes ownership of the returned data, and is responsible for freeing it.