package
0.0.0-20241001140320-1cfc79ecf30e
Repository: https://github.com/nix-community/go-nix.git
Documentation: pkg.go.dev
# Functions
Decode decodes src using nixbase32.
DecodedLen returns the length in bytes of the decoded data corresponding to n bytes of base32-encoded data.
DecodeString returns the bytes represented by the nixbase32 string s or returns an error.
Encode encodes src using nixbase32, writing [EncodedLen] of len(src) bytes to dst.
EncodedLen returns the length in bytes of the base32 encoding of an input buffer of length n.
EncodeToString returns the nixbase32 encoding of src.
Is reports whether the given byte is part of the nixbase32 alphabet.
ValidateString returns an error if s is not valid nixbase32.
# Constants
Alphabet contains the list of valid characters for the Nix base32 Alphabet.