codec

package
v0.0.0-...-f4a5643 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCodec

func NewCodec(order binary.ByteOrder) (*codec, error)

func NewDecodeBuffer

func NewDecodeBuffer(order binary.ByteOrder) *decode_buffer

func NewDecodeContext

func NewDecodeContext(global *codec) *decode_context

func NewEncodeBuffer

func NewEncodeBuffer(size int, order binary.ByteOrder) encode_buffer

func NewEncodeContext

func NewEncodeContext(global *codec) *encode_context

func NewReferencesWriter

func NewReferencesWriter(addressWidth int, order binary.ByteOrder) (*references_writer, error)

Types

type BufferState

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

type DynamicArray

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

func NewDArray

func NewDArray(size int) *DynamicArray

func (*DynamicArray) Clear

func (this *DynamicArray) Clear()

func (*DynamicArray) Contains

func (this *DynamicArray) Contains(val uint16) bool

func (*DynamicArray) Length

func (this *DynamicArray) Length() int

func (*DynamicArray) Push

func (this *DynamicArray) Push(val uint16)

func (*DynamicArray) Sort

func (this *DynamicArray) Sort()

Jump to

Keyboard shortcuts

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