base64url_nopad_to_bytes

Function base64url_nopad_to_bytes 

Source
pub fn base64url_nopad_to_bytes(s: &str) -> Result<Vec<u8>, String>
Expand description

Converts a Base64 encoded string (URL-safe, no padding) to a byte vector.

§Arguments

  • s: A string slice representing the URL-safe Base64 encoded data without padding.

§Returns

A Result containing the byte vector on success, or an error message string on failure.