base64_encode_bytes

Function base64_encode_bytes 

Source
pub fn base64_encode_bytes(bytes: &[u8]) -> String
Expand description

The same encoder, starting before the text.

A PKCE code challenge is the base64url of a SHA-256 digest, which is 32 bytes and not a string; base64_encode is the primitive a Beck program calls and takes the Str it has. One encoder, two entry points.