Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalForVarint ¶
ensures that littleEndian is used to encode varint value
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder reads and decodes binary data from an input stream.
func NewDecoder ¶
NewDecoder returns a new Decoder that reads from r.
func (Decoder) DecodeUint16ForVarint ¶
type Marshaler ¶
Marshaler is the interface implemented by types that can marshal themselves into binary.
type Unmarshaler ¶
Unmarshaler is the interface implemented by types that can unmarshal themselves from binary.
Click to show internal directories.
Click to hide internal directories.