Skip to main content

decode_base64_bytes

Function decode_base64_bytes 

Source
pub fn decode_base64_bytes(input: &str) -> Result<Bytes, CoreError>
Expand description

Decodes a base64-encoded string to Bytes.

§Arguments

  • input - The base64-encoded string

§Returns

The decoded Bytes, or an error message if decoding fails.