Versions in this module Expand all Collapse all v1 v1.20.2 Jul 24, 2026 Changes in this version + type Encoding int + const EncodingBase58 + const EncodingBase64 + const EncodingHex + const EncodingHexWith0x + const EncodingRaw + func ParseEncoding(s string) (Encoding, error) + func (e Encoding) DecodeBytes(encoded interface{}) ([]byte, error) + func (e Encoding) EncodeBytes(data []byte) (interface{}, error) + func (e Encoding) IsStringType() bool + func (e Encoding) String() string