Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶ added in v1.11.10
Decode [str] to bytes using the given encoding If [str] is the empty string, returns a nil byte slice and nil error
Types ¶
type Encoding ¶ added in v1.11.10
type Encoding uint8
Encoding defines how bytes are converted to a string and vice versa
func (Encoding) MarshalJSON ¶ added in v1.11.10
func (*Encoding) UnmarshalJSON ¶ added in v1.11.10
Click to show internal directories.
Click to hide internal directories.