Skip to main content

encode_base64

Function encode_base64 

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

Encodes raw bytes as standard RFC 4648 Base64 ASCII text.

§Arguments

  • &[u8] - Raw byte slice.

§Returns

  • String - Base64-encoded ASCII string.