Expand description
base64
Structs§
- Contains configuration parameters for base64 encoding
Enums§
- Available encoding character sets
- DecodeError
Constants§
- Standard character set with padding.
Functions§
- Write padding characters.
outputis the slice where padding should be written, of length at least 2. - decode
- decode_config
- decode_config_buf
- Encode arbitrary octets as base64. Returns a String. Convenience for
encode_config(input, base64::STANDARD);. - Encode arbitrary octets as base64. Returns a String.
- Encode arbitrary octets as base64. Writes into the supplied output buffer, which will grow the buffer if needed.
- Encode arbitrary octets as base64. Writes into the supplied output buffer.
- Encode input bytes to utf8 base64 bytes. Does not pad.
outputmust be long enough to hold the encodedinputwithout padding. Returns the number of bytes written. - calculate the base64 encoded string size, including padding if appropriate