pub fn decode<Octets>(s: &str) -> Result<Octets, DecodeError>
Expand description
Decodes a string with base64 encoded data.
The function attempts to decode the entire string and returns the result
as a Bytes
value.
pub fn decode<Octets>(s: &str) -> Result<Octets, DecodeError>
Decodes a string with base64 encoded data.
The function attempts to decode the entire string and returns the result
as a Bytes
value.