Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressCodec ¶
type HexAddressCodec ¶
type HexAddressCodec struct{}
HexAddressCodec is a basic address codec that encodes and decodes addresses as hex strings. It is intended to be used as a fallback codec when no other codec is provided.
func (HexAddressCodec) BytesToString ¶
func (h HexAddressCodec) BytesToString(bz []byte) (string, error)
func (HexAddressCodec) StringToBytes ¶
func (h HexAddressCodec) StringToBytes(text string) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.