Documentation ¶
Index ¶
- type Decoder
- func (b *Decoder) Boolean(p *bool) *Decoder
- func (b *Decoder) Bytes(p *[]byte) *Decoder
- func (b *Decoder) Finalize() error
- func (b *Decoder) Float32(p *float32) *Decoder
- func (b *Decoder) Float64(p *float64) *Decoder
- func (b *Decoder) Int16(p *int16) *Decoder
- func (b *Decoder) Int32(p *int32) *Decoder
- func (b *Decoder) Int64(p *int64) *Decoder
- func (b *Decoder) Int8(p *int8) *Decoder
- func (b *Decoder) String(p *string) *Decoder
- func (b *Decoder) Uint16(p *uint16) *Decoder
- func (b *Decoder) Uint32(p *uint32) *Decoder
- func (b *Decoder) Uint64(p *uint64) *Decoder
- func (b *Decoder) Uint8(p *uint8) *Decoder
- func (b *Decoder) VarInt16(p *int16) *Decoder
- func (b *Decoder) VarInt32(p *int32) *Decoder
- func (b *Decoder) VarInt64(p *int64) *Decoder
- func (b *Decoder) VarUint16(p *uint16) *Decoder
- func (b *Decoder) VarUint32(p *uint32) *Decoder
- func (b *Decoder) VarUint64(p *uint64) *Decoder
- func (b *Decoder) VarUint8(p *uint8) *Decoder
- type Encoder
- func (e Encoder) Boolean(b bool) Encoder
- func (e Encoder) Bytes(b []byte) Encoder
- func (e Encoder) Destroy()
- func (e Encoder) Finalize() *bytebufferpool.ByteBuffer
- func (e Encoder) FinalizeBytes() []byte
- func (e Encoder) Float32(v float32) Encoder
- func (e Encoder) Float64(v float64) Encoder
- func (e Encoder) Int16(v int16) Encoder
- func (e Encoder) Int32(v int32) Encoder
- func (e Encoder) Int64(v int64) Encoder
- func (e Encoder) Int8(v int8) Encoder
- func (e Encoder) Reset()
- func (e Encoder) String(s string) Encoder
- func (e Encoder) Uint16(v uint16) Encoder
- func (e Encoder) Uint32(v uint32) Encoder
- func (e Encoder) Uint64(v uint64) Encoder
- func (e Encoder) Uint8(v uint8) Encoder
- func (e Encoder) VarInt16(v int16) Encoder
- func (e Encoder) VarInt32(v int32) Encoder
- func (e Encoder) VarInt64(v int64) Encoder
- func (e Encoder) VarUint16(v uint16) Encoder
- func (e Encoder) VarUint32(v uint32) Encoder
- func (e Encoder) VarUint64(v uint64) Encoder
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
}
func NewEncoder ¶
func NewEncoder() Encoder
func (Encoder) Finalize ¶
func (e Encoder) Finalize() *bytebufferpool.ByteBuffer
func (Encoder) FinalizeBytes ¶
Click to show internal directories.
Click to hide internal directories.