go1.20.5
GoThrough

base32.NoPadding

const NoPadding = -1

base32.StdPadding

const StdPadding = '='

base32.HexEncoding

// HexEncoding is the “Extended Hex Alphabet” defined in RFC 4648. // It is typically used in DNS. var HexEncoding = NewEncoding(encodeHex)

base32.StdEncoding

// StdEncoding is the standard base32 encoding, as defined in // RFC 4648. var StdEncoding = NewEncoding(encodeStd)

base32.NewDecoder

// NewDecoder constructs a new base32 stream decoder. func NewDecoder(enc *Encoding, r io.Reader) io.Reader

base32.NewEncoder

// NewEncoder returns a new base32 stream encoder. Data written to // the returned writer will be encoded using enc and then written to w. // Base32 encodings operate in 5-byte blocks; when finished // writing, the caller must Close the returned encoder to flush any // partially written blocks. func NewEncoder(enc *Encoding, w io.Writer) io.WriteCloser

base32.NewEncoding

// NewEncoding returns a new Encoding defined by the given alphabet, // which must be a 32-byte string. func NewEncoding(encoder string) *Encoding