GLib.base64_encode_close

function base64_encode_close(break_lines: Boolean, state: Number(gint), save: Number(gint)): [return_value: Number(gsize), out: ByteArray, state: Number(gint), save: Number(gint)] {
    // Gjs wrapper for g_base64_encode_close()
}
  

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

Since 2.12

break_lines

whether to break long lines

state

Saved state from GLib.base64_encode_step

save

Saved state from GLib.base64_encode_step

return_value

The number of bytes of output that was written

out

pointer to destination buffer

state (out)

Saved state from GLib.base64_encode_step

save (out)

Saved state from GLib.base64_encode_step