Enums§
- Errors that can occur while encoding into a slice.
Functions§
- Write padding characters.
unpadded_output_len
is the size of the unpadded but base64 encoded data.output
is the slice where padding should be written, of length at least 2. - encodeDeprecatedEncode arbitrary octets as base64 using the
STANDARD
engine. - encode_engineDeprecatedEncode arbitrary octets as base64 using the provided
Engine
into a newString
. - encode_engine_sliceDeprecatedEncode arbitrary octets as base64 into a supplied slice.
- encode_engine_stringDeprecatedEncode arbitrary octets as base64 into a supplied
String
. - B64-encode and pad (if configured).
- Calculate the base64 encoded length for a given input length, optionally including any appropriate padding bytes.