createBase64OutputStream

Creates a Base64 encoding stream.max_bytes_per_line

By default, the stream generates a MIME compatible Base64 encoding.

Base64OutputStreamImpl!(C62, C63, CPAD, OutputStream)
createBase64OutputStream
(
char C62 = '+'
char C63 = '/'
char CPAD = '='
OutputStream
)
(
OutputStream output
,
ulong max_bytes_per_line = 57
)
if (
isOutputStream!OutputStream
)

Parameters

output OutputStream

The output sink to which the encoded result is written.

max_bytes_per_line ulong

The maximum number of input bytes after which a line break is inserted into the output. Defaults to 57, according to the MIME standard.

Meta