Function avalanche_types::formatting::encode_cb58_with_checksum_vec
source · [−]pub fn encode_cb58_with_checksum_vec(d: &[u8]) -> Vec<u8>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
Expand description
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