encode

Function encode 

Source
pub fn encode(input: &[u8], encode_y: bool) -> String
Expand description

Encodes a set of bytes into an ASCII85-encoded string.

If encode_y is set, four consecutive spaces will be encoded as ‘y’ as in btoa version 4.2.