One-shot Encode
src := []byte("Man is distinguished, not only by his reason")
dst := make([]byte, ascii85.MaxEncodedLen(len(src)))
n := ascii85.Encode(dst, src)
fmt.Println(string(dst[:n]))
encoding/ascii85Ascii85 (aka btoa) — 4 bytes become 5 printable chars. More compact than base64, much rarer.
src := []byte("Man is distinguished, not only by his reason")
dst := make([]byte, ascii85.MaxEncodedLen(len(src)))
n := ascii85.Encode(dst, src)
fmt.Println(string(dst[:n]))