base64_encode_close


Description:


public size_t base64_encode_close (uint8[] @in, bool break_lines, uint8[] @out, ref int state, ref uint save)

This funcion should be called to when finished encoding everything, to flush off the last little bit.

Parameters:

break_lines

Whether to use line breaks

state

holds the number of bits that are stored in save

save

leftover bits that have not yet been decoded

in

Data to be encoded

inlen

Length of data to be encoded

out

Encoded data.

Returns:

a count of the number of bytes in the final block.


Namespace: Gsf
Package: libgsf-1