package
0.0.0-20250124001807-83b98d5a6acc
Repository: https://github.com/keybase/saltpack.git
Documentation: pkg.go.dev
# Functions
NewDecoder constructs a new baseX stream decoder.
NewEncoder returns a new baseX stream encoder.
NewEncoding returns a new Encoding defined by the given alphabet, which must a x-byte string.
# Variables
Base58StdEncoding is the standard base58-encoding.
Base58StdEncodingStrict is the standard base58-encoding, with Strict mode enforcing no foreign characters.
Base62StdEncoding is the standard 62-encoding, with a 32-byte input block and, a 43-byte output block.
Base62StdEncodingStrict is the standard 62-encoding, with a 32-byte input block and, a 43-byte output block.
ErrInvalidEncodingLength is returned when a non-minimal encoding length is found.
# Structs
Encoding is a radix X encoding/decoding scheme, defined by X-length character alphabet.
# Type aliases
CorruptInputError is returned when Decode() finds a non-alphabet character.