Skip to main content

decode_base64

Function decode_base64 

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

Decodes a standard RFC 4648 Base64 string into raw bytes.

§Arguments

  • &str - Base64-encoded ASCII text (whitespace ignored).

§Returns

  • io::Result<Vec<u8>> - Decoded byte vector or format error.