Skip to main content

decode

Function decode 

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

Decodes a Base64 string without padding into a vector of bytes.

§Parameters

  • b64u: A string containing the encoded Base64 data.

§Returns

A result containing a vector of bytes if decoding is successful, or an error.