Versions in this module Expand all Collapse all v5 v5.0.5 May 3, 2024 Changes in this version + func EqualAsUint16Slice[T any](a, b []T) bool + func EqualAsUint32Slice[T any](a, b []T) bool + func EqualAsUint64Slice[T any](a, b []T) bool + func EqualAsUint64[T any](a, b T) bool + func EqualAsUint8Slice[T any](a, b []T) bool + func Read(r Reader, c []byte) (n int64, err error) + func ReadAsUint16Slice[T any](r Reader, c []T) (n int64, err error) + func ReadAsUint16[T any](r Reader, c *T) (n int64, err error) + func ReadAsUint32Slice[T any](r Reader, c []T) (n int64, err error) + func ReadAsUint32[T any](r Reader, c *T) (n int64, err error) + func ReadAsUint64Slice[T any](r Reader, c []T) (n int64, err error) + func ReadAsUint64[T any](r Reader, c *T) (n int64, err error) + func ReadAsUint8Slice[T any](r Reader, c []T) (n int64, err error) + func ReadAsUint8[T any](r Reader, c *T) (n int64, err error) + func ReadUint16(r Reader, c *uint16) (n int64, err error) + func ReadUint16Slice(r Reader, c []uint16) (n int64, err error) + func ReadUint32(r Reader, c *uint32) (n int64, err error) + func ReadUint32Slice(r Reader, c []uint32) (n int64, err error) + func ReadUint64(r Reader, c *uint64) (n int64, err error) + func ReadUint64Slice(r Reader, c []uint64) (n int64, err error) + func ReadUint8(r Reader, c *uint8) (n int64, err error) + func ReadUint8Slice(r Reader, c []uint8) (n int64, err error) + func RequireSerializerCorrect(t *testing.T, input binarySerializer) + func Write(w Writer, c []byte) (n int64, err error) + func WriteAsUint16Slice[T any](w Writer, c []T) (n int64, err error) + func WriteAsUint16[T any](w Writer, c T) (n int64, err error) + func WriteAsUint32Slice[T any](w Writer, c []T) (n int64, err error) + func WriteAsUint32[T any](w Writer, c T) (n int64, err error) + func WriteAsUint64Slice[T any](w Writer, c []T) (n int64, err error) + func WriteAsUint64[T any](w Writer, c T) (n int64, err error) + func WriteAsUint8Slice[T any](w Writer, c []T) (n int64, err error) + func WriteAsUint8[T any](w Writer, c T) (n int64, err error) + func WriteUint16(w Writer, c uint16) (n int64, err error) + func WriteUint16Slice(w Writer, c []uint16) (n int64, err error) + func WriteUint32(w Writer, c uint32) (n int64, err error) + func WriteUint32Slice(w Writer, c []uint32) (n int64, err error) + func WriteUint64(w Writer, c uint64) (n int64, err error) + func WriteUint64Slice(w Writer, c []uint64) (n int64, err error) + func WriteUint8(w Writer, c uint8) (n int64, err error) + func WriteUint8Slice(w Writer, c []uint8) (n int64, err error) + type Buffer struct + func NewBuffer(buff []byte) *Buffer + func NewBufferSize(size int) *Buffer + func (b *Buffer) Available() int + func (b *Buffer) AvailableBuffer() []byte + func (b *Buffer) Bytes() []byte + func (b *Buffer) Discard(n int) (discarded int, err error) + func (b *Buffer) Flush() (err error) + func (b *Buffer) Peek(n int) ([]byte, error) + func (b *Buffer) Read(p []byte) (n int, err error) + func (b *Buffer) Reset() + func (b *Buffer) Size() int + func (b *Buffer) Write(p []byte) (n int, err error) + type Reader interface + Discard func(n int) (discarded int, err error) + Peek func(n int) ([]byte, error) + Size func() int + type Writer interface + Available func() int + AvailableBuffer func() []byte + Flush func() (err error)