domain::utils::base64

Function encode_string

source
pub fn encode_string<B: AsRef<[u8]> + ?Sized>(bytes: &B) -> String
Expand description

Encodes binary data in base64 and returns the encoded data as a string.