pub trait FromBase64Decode: Sized {
    fn from_base64_decode(base64: &Base64, data: &[u8]) -> Result<Self, Error>;
}
Expand description

Types that can be decoded from a base64 string.

Required Methods§

Decodes a base64 string to bytes and returns the self type.

Errors

This function returns Err if the content of data is invalid.

Implementations on Foreign Types§

Implementors§