Skip to main content

base64url_decode

Function base64url_decode 

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

Decode URL-safe unpadded base64. None on any non-alphabet byte or an impossible length (a single trailing char carries no whole byte).