Documentation
¶
Index ¶
- type Encoder
- func (e *Encoder) Bool(value bool) []byte
- func (e *Encoder) Byte(value byte) []byte
- func (e *Encoder) Decimal28(lo, hi uint64) []byte
- func (e *Encoder) Float32(value float32) []byte
- func (e *Encoder) Float64(value float64) []byte
- func (e *Encoder) Int16(value int16) []byte
- func (e *Encoder) Int32(value int32) []byte
- func (e *Encoder) Int64(value int64) []byte
- func (e *Encoder) Uint16(value uint16) []byte
- func (e *Encoder) Uint32(value uint32) []byte
- func (e *Encoder) Uint64(value uint64) []byte
- func (e *Encoder) Uleb128(value uint32) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
Encoder is a binary encoding facility
func (*Encoder) Float32 ¶
Float32 maps float32 value into uint32 and then decode it in a LittleBig sequence
func (*Encoder) Float64 ¶
Float64 maps float64 value into uint64 and then decode it in a LittleBig sequence
Click to show internal directories.
Click to hide internal directories.