Module base64::encode

source ·

Enums

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.
  • encodeDeprecated
    Encode arbitrary octets as base64 using the STANDARD engine.
  • encode_engineDeprecated
    Encode arbitrary octets as base64 using the provided Engine into a new String.
  • Encode arbitrary octets as base64 into a supplied slice.
  • Encode 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.