MCPcopy Create free account
hub / github.com/chain/txvm / HexBytes

TypeAlias HexBytes

encoding/json/json.go:14–14  ·  view source on GitHub ↗

HexBytes is a byte slice with hex encoding and decoding when marshaled and unmarshaled.

Source from the content-addressed store, hash-verified

12// HexBytes is a byte slice with hex encoding and decoding when
13// marshaled and unmarshaled.
14type HexBytes []byte
15
16// MarshalText satisfies the encoding.TextMarshaler interface.
17func (h HexBytes) MarshalText() ([]byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected