Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LittleEndian = binary.LittleEndian BigEndian = binary.BigEndian DefaultEndian = LittleEndian )
Functions ¶
Types ¶
type Decoder ¶
func NewDecoder ¶
type Encoder ¶
func NewEncoder ¶
func NewStrictEncoder ¶
NewStrictEncoder creates an encoder similar to NewEncoder, however if this encoder attempts to encode a struct and the struct has no encodable fields an error is returned whereas the encoder returned from NewEncoder will simply not write anything to `w`.
Click to show internal directories.
Click to hide internal directories.