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. - encode
Deprecated Encode arbitrary octets as base64 using theSTANDARD
engine. - encode_
engine Deprecated Encode arbitrary octets as base64 using the providedEngine
into a newString
. - encode_
engine_ slice Deprecated Encode arbitrary octets as base64 into a supplied slice. - encode_
engine_ string Deprecated Encode arbitrary octets as base64 into a suppliedString
. - B64-encode and pad (if configured).
- Calculate the base64 encoded length for a given input length, optionally including any appropriate padding bytes.