Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + type ByteBuffer struct + func NewByteBuffer(size int) *ByteBuffer + func NewWrappedBuffer(buf []byte, size int) *ByteBuffer + func (this *ByteBuffer) AsInt32Buffer() *Int32Buffer + func (this *ByteBuffer) AsReadOnlyBuffer() *ByteBuffer + func (this *ByteBuffer) AsUint32Buffer() *Uint32Buffer + func (this *ByteBuffer) Capacity() int + func (this *ByteBuffer) Clear() error + func (this *ByteBuffer) Copy(b *ByteBuffer) error + func (this *ByteBuffer) Duplicate() *ByteBuffer + func (this *ByteBuffer) Equals(other *ByteBuffer) bool + func (this *ByteBuffer) Flip() error + func (this *ByteBuffer) Get() (byte, error) + func (this *ByteBuffer) GetAsInt32() (uint32, error) + func (this *ByteBuffer) GetAsUint32() (uint32, error) + func (this *ByteBuffer) GetAt(index int) (byte, error) + func (this *ByteBuffer) GetBytes(dst []byte, offset, length int) error + func (this *ByteBuffer) GetUint16() (uint16, error) + func (this *ByteBuffer) GetUint16At(index int) (uint16, error) + func (this *ByteBuffer) GetUint32() (uint32, error) + func (this *ByteBuffer) GetUint32At(index int) (uint32, error) + func (this *ByteBuffer) GetUint64() (uint64, error) + func (this *ByteBuffer) GetUint64At(index int) (uint64, error) + func (this *ByteBuffer) HasRemaining() bool + func (this *ByteBuffer) IsReadOnly() bool + func (this *ByteBuffer) IsWrapped() bool + func (this *ByteBuffer) Limit() int + func (this *ByteBuffer) Mark() int + func (this *ByteBuffer) Order() binary.ByteOrder + func (this *ByteBuffer) Peek() (byte, error) + func (this *ByteBuffer) Position() int + func (this *ByteBuffer) Put(b byte) error + func (this *ByteBuffer) PutAt(index int, b byte) error + func (this *ByteBuffer) PutBytes(src []byte, offset, length int) error + func (this *ByteBuffer) PutFrom(src *ByteBuffer) error + func (this *ByteBuffer) PutUint16(value uint16) error + func (this *ByteBuffer) PutUint16At(index int, value uint16) error + func (this *ByteBuffer) PutUint32(value uint32) error + func (this *ByteBuffer) PutUint32At(index int, value uint32) error + func (this *ByteBuffer) PutUint64(value uint64) error + func (this *ByteBuffer) PutUint64At(index int, value uint64) error + func (this *ByteBuffer) Remaining() int + func (this *ByteBuffer) Reset() error + func (this *ByteBuffer) Resize(newSize int) error + func (this *ByteBuffer) Rewind() error + func (this *ByteBuffer) SetLimit(limit int) error + func (this *ByteBuffer) SetOrder(bo binary.ByteOrder) + func (this *ByteBuffer) SetPosition(pos int) error + func (this *ByteBuffer) Slice() *ByteBuffer + func (this *ByteBuffer) String() string + type Int32Buffer struct + func (this *Int32Buffer) Capacity() int + func (this *Int32Buffer) Clear() error + func (this *Int32Buffer) Flip() error + func (this *Int32Buffer) Get() (int32, error) + func (this *Int32Buffer) GetAt(index int) (int32, error) + func (this *Int32Buffer) GetInt32s(dst []uint32, offset, length int) error + func (this *Int32Buffer) HasRemaining() bool + func (this *Int32Buffer) IsReadOnly() bool + func (this *Int32Buffer) Limit() int + func (this *Int32Buffer) Mark() int + func (this *Int32Buffer) Order() binary.ByteOrder + func (this *Int32Buffer) Position() int + func (this *Int32Buffer) Put(value uint32) error + func (this *Int32Buffer) PutAt(index int, value uint32) error + func (this *Int32Buffer) PutInt32s(dst []uint32, offset, length int) error + func (this *Int32Buffer) Remaining() int + func (this *Int32Buffer) Reset() error + func (this *Int32Buffer) Rewind() error + func (this *Int32Buffer) SetLimit(limit int) error + func (this *Int32Buffer) SetOrder(bo binary.ByteOrder) + func (this *Int32Buffer) SetPosition(pos int) error + func (this *Int32Buffer) String() string + type Uint32Buffer struct + func (this *Uint32Buffer) Capacity() int + func (this *Uint32Buffer) Clear() error + func (this *Uint32Buffer) Flip() error + func (this *Uint32Buffer) Get() (uint32, error) + func (this *Uint32Buffer) GetAt(index int) (uint32, error) + func (this *Uint32Buffer) GetUint32s(dst []uint32, offset, length int) error + func (this *Uint32Buffer) HasRemaining() bool + func (this *Uint32Buffer) IsReadOnly() bool + func (this *Uint32Buffer) Limit() int + func (this *Uint32Buffer) Mark() int + func (this *Uint32Buffer) Order() binary.ByteOrder + func (this *Uint32Buffer) Position() int + func (this *Uint32Buffer) Put(value uint32) error + func (this *Uint32Buffer) PutAt(index int, value uint32) error + func (this *Uint32Buffer) PutUint32s(dst []uint32, offset, length int) error + func (this *Uint32Buffer) Remaining() int + func (this *Uint32Buffer) Reset() error + func (this *Uint32Buffer) Rewind() error + func (this *Uint32Buffer) SetLimit(limit int) error + func (this *Uint32Buffer) SetOrder(bo binary.ByteOrder) + func (this *Uint32Buffer) SetPosition(pos int) error + func (this *Uint32Buffer) String() string