Documentation ¶
Overview ¶
Package hexutil implements hexadecimal encoding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustDecodeString ¶
MustDecodeString returns the bytes represented by the hexadecimal string s.
Types ¶
type Bytes ¶
type Bytes []byte
Bytes is a slice of bytes that marshals/unmarshals as a string in hexadecimal encoding.
func (Bytes) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Bytes) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.