Module avalanche_types::formatting
source · Functions
Implements “formatting.FormatAddress/FormatBech32”.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#FormatAddress
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#FormatBech32
Implements “formatting.Decode” with “formatting.CB58”.
ref. <https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#Decode
Implements “formatting.Decode” with “formatting.Hex”.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#Decode
Implements “formatting.EncodeWithChecksum” with “formatting.CB58”.
“ids.ShortID.String” appends checksum to the digest bytes.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#EncodeWithChecksum
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/hashing#Checksum
Implements “formatting.EncodeWithChecksum” with “formatting.CB58”.
“ids.ShortID.String” appends checksum to the digest bytes.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#EncodeWithChecksum
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/hashing#Checksum
Implements “formatting.EncodeWithChecksum” with “formatting.Hex”.
“ids.ShortID.String” appends checksum to the digest bytes.
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/formatting#EncodeWithChecksum
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/utils/hashing#Checksum