Skip to main content

bytes_from_b64_strict

Function bytes_from_b64_strict 

Source
pub fn bytes_from_b64_strict(bytes: &[u8]) -> Result<Vec<u8>, String>
Expand description

Strict standard-base64 decode (single SIMD pass): rejects url-safe chars, whitespace and bad padding, matching @smithy/util-base64 semantics.