Returns a 64 character string, where the character at index i
is the
encoding of the base-64 digit i
.
Returns the 7-bit quantity represented by the base-64 digit c
.
Returns the Unicode code point of the base-64 digit that encodes the given 7-bit quantity.
Returns true
if the Unicode code point c
is a valid base-64 digit.
Returns true
if this base-64 encoding requires padding.
Returns this Base64
encoding with required padding, if isPadded
is
true
.
Parses the base-64 (7-bit ASCII) encoded input
, and writes the decoded
bytes to a growable array, returning a Parser
continuation that knows
how to parse any additional input. The returned Parser
binds a Uint8Array
array containing all parsed base-64 data.
Returns a Writer
that, when fed an input Uint8Array
, returns a
continuation that writes the base-64 (7-bit ASCII) encoding of the input
Uint8Array
.
Returns a {@code Writer} continuation that writes the base-64 (7-bit ASCII) encoding of the {@code input} byte array.
Decodes the base-64 digits c1
, c2
, c3
, and c4
, and writes the 8 to
24 bit quantity they represent to the given output
.
Returns the Base64
encoding with the standard alphabet, and required
padding, if isPadding
is true
.
Returns the Base64
encoding with the url and filename safe alphabet,
and required padding, if isPadded
is true
.
Base-64 (7-bit ASCII) encoding Parser/Writer factory.