Essential Go  Edit on GitHub      File Issue

hex, base64 encoding

Sometimes you need to encode bytes into a text.

Most popular encodings are hex, where each byte is represented by 2 characters and base64 where each 3 bytes are encoded as 4 characters.

hex, base64 encoding/
  ↑ ↓ to navigate     ↵ to select     Esc to close