base64

Function encode

Source
pub fn encode<T: AsRef<[u8]>>(input: T) -> String
👎Deprecated since 0.21.0: Use Engine::encode
Expand description

Encode arbitrary octets as base64 using the STANDARD engine.

See Engine::encode.