Function base64::decode

Overview
fn decode(inp: String) -> Result

Decode a base64 String into data

Examples

assert_eq!(base64::decode("+uwgVQA=")?, b"\xFA\xEC\x20\x55\0");