encode_close


Description:

public size_t encode_close (bool break_lines, char* _out, ref int state, ref int save)

Flush the status from a sequence of calls to encode_step.

The output buffer must be large enough to fit all the data that will be written to it. It will need up to 4 bytes, or up to 5 bytes if line-breaking is enabled.

The out array will not be automatically nul-terminated.

Parameters:

break_lines

whether to break long lines

state

Saved state from encode_step

save

Saved state from encode_step

out

pointer to destination buffer

Returns:

The number of bytes of output that was written


Namespace: GLib.Base64
Package: glib-2.0