Nimony

The road to Nim 3

base64

nimony/lib/std/base64.nim

Base64 encoder/decoder (RFC 4648).

encode produces standard base64 by default, or the URL- and filename-safe alphabet (-/_ instead of +//) when safe = true. decode accepts either alphabet and ignores = padding and whitespace.