Function aws_smithy_types::base64::decode

source ·
pub fn decode(input: impl AsRef<str>) -> Result<Vec<u8>, DecodeError>
Expand description

Decode input from base64 using the standard base64 alphabet

If input is not a valid base64 encoded string, this function will return DecodeError.