linbuf

package module
v0.0.0-...-5cb8895 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 6 Imported by: 0

README

linbuf

linear buffer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(p []byte) *Decoder

func (*Decoder) Boolean

func (b *Decoder) Boolean(p *bool) *Decoder

func (*Decoder) Bytes

func (b *Decoder) Bytes(p *[]byte) *Decoder

func (*Decoder) Finalize

func (b *Decoder) Finalize() error

func (*Decoder) Float32

func (b *Decoder) Float32(p *float32) *Decoder

func (*Decoder) Float64

func (b *Decoder) Float64(p *float64) *Decoder

func (*Decoder) Int16

func (b *Decoder) Int16(p *int16) *Decoder

func (*Decoder) Int32

func (b *Decoder) Int32(p *int32) *Decoder

func (*Decoder) Int64

func (b *Decoder) Int64(p *int64) *Decoder

func (*Decoder) Int8

func (b *Decoder) Int8(p *int8) *Decoder

func (*Decoder) String

func (b *Decoder) String(p *string) *Decoder

func (*Decoder) Uint16

func (b *Decoder) Uint16(p *uint16) *Decoder

func (*Decoder) Uint32

func (b *Decoder) Uint32(p *uint32) *Decoder

func (*Decoder) Uint64

func (b *Decoder) Uint64(p *uint64) *Decoder

func (*Decoder) Uint8

func (b *Decoder) Uint8(p *uint8) *Decoder

func (*Decoder) VarInt16

func (b *Decoder) VarInt16(p *int16) *Decoder

func (*Decoder) VarInt32

func (b *Decoder) VarInt32(p *int32) *Decoder

func (*Decoder) VarInt64

func (b *Decoder) VarInt64(p *int64) *Decoder

func (*Decoder) VarUint16

func (b *Decoder) VarUint16(p *uint16) *Decoder

func (*Decoder) VarUint32

func (b *Decoder) VarUint32(p *uint32) *Decoder

func (*Decoder) VarUint64

func (b *Decoder) VarUint64(p *uint64) *Decoder

func (*Decoder) VarUint8

func (b *Decoder) VarUint8(p *uint8) *Decoder

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder() Encoder

func (Encoder) Boolean

func (e Encoder) Boolean(b bool) Encoder

func (Encoder) Bytes

func (e Encoder) Bytes(b []byte) Encoder

func (Encoder) Destroy

func (e Encoder) Destroy()

func (Encoder) Finalize

func (e Encoder) Finalize() *bytebufferpool.ByteBuffer

func (Encoder) FinalizeBytes

func (e Encoder) FinalizeBytes() []byte

func (Encoder) Float32

func (e Encoder) Float32(v float32) Encoder

func (Encoder) Float64

func (e Encoder) Float64(v float64) Encoder

func (Encoder) Int16

func (e Encoder) Int16(v int16) Encoder

func (Encoder) Int32

func (e Encoder) Int32(v int32) Encoder

func (Encoder) Int64

func (e Encoder) Int64(v int64) Encoder

func (Encoder) Int8

func (e Encoder) Int8(v int8) Encoder

func (Encoder) Reset

func (e Encoder) Reset()

func (Encoder) String

func (e Encoder) String(s string) Encoder

func (Encoder) Uint16

func (e Encoder) Uint16(v uint16) Encoder

func (Encoder) Uint32

func (e Encoder) Uint32(v uint32) Encoder

func (Encoder) Uint64

func (e Encoder) Uint64(v uint64) Encoder

func (Encoder) Uint8

func (e Encoder) Uint8(v uint8) Encoder

func (Encoder) VarInt16

func (e Encoder) VarInt16(v int16) Encoder

func (Encoder) VarInt32

func (e Encoder) VarInt32(v int32) Encoder

func (Encoder) VarInt64

func (e Encoder) VarInt64(v int64) Encoder

func (Encoder) VarUint16

func (e Encoder) VarUint16(v uint16) Encoder

func (Encoder) VarUint32

func (e Encoder) VarUint32(v uint32) Encoder

func (Encoder) VarUint64

func (e Encoder) VarUint64(v uint64) Encoder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL