[−][src]Module ffsend_api::crypto::b64
A simple module for encoding or decoding a base64 string from or to a byte array.
This module uses an URL-safe scheme, and doesn't add additional padding to the encoded strings.
Structs
Config | Contains configuration parameters for base64 encoding |
Enums
CharacterSet | Available encoding character sets |
DecodeError | Errors that can occur while decoding. |
Functions
decode | Decode the given string as base64. Standard and URL-safe character sets are both supported, padding is optional. |
encode | Encode the given byte slice using base64, in an URL-safe manner without padding. |