Skip to main content

encode_base64

Function encode_base64 

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

Encodes bytes as standard base64 text (the +/ alphabet, padded).

Shared with sim-codec-bitwise-base64 so the two text wrappers use one base64 implementation rather than forking the alphabet and logic.