Expand description
Base64 related macros
Modules§
- Provides Alphabet and constants for alphabets commonly used in the wild.
- Enables base64’d output anywhere you might use a
Display
implementation, like a format string. - Provides the Engine abstraction and out of the box implementations.
- Preconfigured engines for common use cases.
- Implementations of
io::Read
to transparently decode base64. - Implementations of
io::Write
to transparently handle base64.
Enums§
- Errors that can occur while decoding.
- Errors that can occur while decoding into a slice.
- Errors that can occur while encoding into a slice.
Traits§
- An
Engine
provides low-level encoding and decoding operations that all other higher-level parts of the API use. Users of the library will generally not need to implement this.
Functions§
- decode
Deprecated Decode base64 using theSTANDARD
engine. - decode_
engine Deprecated Decode from string reference as octets using the specified Engine. - decode_
engine_ slice Deprecated Decode the input into the provided output slice. - decode_
engine_ vec Deprecated Decode from string reference as octets. - Returns a conservative estimate of the decoded size of
encoded_len
base64 symbols (rounded up to the next group of 3 decoded bytes). - 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
. - Calculate the base64 encoded length for a given input length, optionally including any appropriate padding bytes.