Skip to main content

base64_decode

Function base64_decode 

Source
pub fn base64_decode(s: &str) -> Option<Vec<u8>>
Expand description

Decode base64 in either the standard or the URL-safe alphabet, with or without = padding. Whitespace is refused. Non-canonical trailing bits are refused so an encoding cannot be malleated.