Base64.encodeClose

Flush the status from a sequence of calls to g_base64_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.

struct Base64
static
size_t
encodeClose
(,
out char[] out_
,
ref int state
,
ref int save
)

Parameters

breakLines bool

whether to break long lines

out_ char[]

pointer to destination buffer

state int

Saved state from g_base64_encode_step()

save int

Saved state from g_base64_encode_step()

Return Value

Type: size_t

The number of bytes of output that was written

Meta

Since

2.12