Skip to main content

decode

Function decode 

Source
pub fn decode(input: &str) -> Result<Vec<u8>, DecodeError>
Expand description

Decode standard Base64. Rejects any character outside the alphabet (including URL-safe -/_) and any malformed padding. Whitespace is not permitted; callers must trim before decoding.