Function ::base64::decode

Overview
fn decode(inp: String) -> Result

Decode a base64 String into data

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