Skip to main content

base64_decode

Function base64_decode 

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

Decode a standard or URL-safe base64 string, bounded to MAX_BASE64_INPUT_LEN bytes for DoS safety. Err(()) on invalid or over-length input.