Versions in this module Expand all Collapse all v0 v0.6.2 Apr 29, 2021 v0.6.1 Apr 29, 2021 Changes in this version + var ByteBufferPool = sync.Pool + var ByteInputAdapterPool = sync.Pool + type ByteBuffer struct + func (b *ByteBuffer) GetReadBytes() int64 + func (b *ByteBuffer) Next(n int) ([]byte, error) + func (b *ByteBuffer) ReadUInt16() (uint16, error) + func (b *ByteBuffer) ReadUInt32() (uint32, error) + func (b *ByteBuffer) Reset(buf []byte) + func (b *ByteBuffer) SkipBytes(n int) error + type ByteInput interface + GetReadBytes func() int64 + Next func(n int) ([]byte, error) + ReadUInt16 func() (uint16, error) + ReadUInt32 func() (uint32, error) + SkipBytes func(n int) error + func NewByteInput(buf []byte) ByteInput + func NewByteInputFromReader(reader io.Reader) ByteInput + type ByteInputAdapter struct + func (b *ByteInputAdapter) GetReadBytes() int64 + func (b *ByteInputAdapter) Next(n int) ([]byte, error) + func (b *ByteInputAdapter) ReadUInt16() (uint16, error) + func (b *ByteInputAdapter) ReadUInt32() (uint32, error) + func (b *ByteInputAdapter) Reset(stream io.Reader) + func (b *ByteInputAdapter) SkipBytes(n int) error