Documentation ¶
Overview ¶
Package encoding provides data types and functions for JSON or YAML encoding/decoding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HexBytes ¶
type HexBytes []byte
HexBytes is a byte slice that is marshalled to and from a hex string.
func (HexBytes) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (HexBytes) MarshalYAML ¶
MarshalYAML implements the yaml.Marshaler interface.
func (*HexBytes) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.