Documentation ¶
Index ¶
- func Str2Bytes(str string) []byte
- type Decoder
- func (decoder *Decoder) Bool() (bool, error)
- func (decoder *Decoder) Fixed(ln int) ([]byte, error)
- func (decoder *Decoder) Float32() (float32, error)
- func (decoder *Decoder) Float64() (float64, error)
- func (decoder *Decoder) Int16() (int16, error)
- func (decoder *Decoder) Int32() (int32, error)
- func (decoder *Decoder) Int64() (int64, error)
- func (decoder *Decoder) Int8() (int8, error)
- func (decoder *Decoder) Raw(b []byte) error
- func (decoder *Decoder) ReadByte() (byte, error)
- func (decoder *Decoder) String() (string, error)
- func (decoder *Decoder) UInt16() (uint16, error)
- func (decoder *Decoder) UInt32() (uint32, error)
- func (decoder *Decoder) UInt64() (uint64, error)
- func (decoder *Decoder) UInt8() (uint8, error)
- func (decoder *Decoder) Uvarint() (uint64, error)
- type Encoder
- func (enc *Encoder) Bool(v bool) error
- func (enc *Encoder) Byte(b byte) error
- func (enc *Encoder) Float32(v float32) error
- func (enc *Encoder) Float64(v float64) error
- func (enc *Encoder) Flush() error
- func (enc *Encoder) Int16(v int16) error
- func (enc *Encoder) Int32(v int32) error
- func (enc *Encoder) Int64(v int64) error
- func (enc *Encoder) Int8(v int8) error
- func (enc *Encoder) Raw(b []byte) error
- func (enc *Encoder) String(v string) error
- func (enc *Encoder) UInt16(v uint16) error
- func (enc *Encoder) UInt32(v uint32) error
- func (enc *Encoder) UInt64(v uint64) error
- func (enc *Encoder) UInt8(v uint8) error
- func (enc *Encoder) Uvarint(v uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.