MCPcopy Create free account
hub / github.com/akash-network/node / MustEncodeWithLengthPrefix

Function MustEncodeWithLengthPrefix

util/validation/address.go:47–54  ·  view source on GitHub ↗
(bz []byte)

Source from the content-addressed store, hash-verified

45}
46
47func MustEncodeWithLengthPrefix(bz []byte) []byte {
48 res, err := EncodeWithLengthPrefix(bz)
49 if err != nil {
50 panic(err)
51 }
52
53 return res
54}

Callers 1

EncodePaginationKeyFunction · 0.92

Calls 1

EncodeWithLengthPrefixFunction · 0.85

Tested by

no test coverage detected