pub struct Base64 { /* private fields */ }
Expand description
Base64 encoder/decoder with custom alphabet.
The alphabet is sorted by a given key and their weights are calculated by
the CRC32 hash of each character.
This class will provide a custom alphabet for the base64 encoder/decoder,
which makes virtually impossible to decode the encoded data without the key.
Create a new Base64 encoder/decoder with a custom key to sort the alphabet.
Encode the given input with the custom alphabet.
Decode the given input with the custom alphabet.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.