Skip to main content

decode

Function decode 

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

Decode standard-alphabet Base64. Whitespace is ignored and = padding ends the stream; returns None on any other invalid character. Lenient about missing padding (handles the unpadded variant some data: URIs use).