bytebuffer

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteBuffer

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

func NewByteBuffer

func NewByteBuffer() *ByteBuffer

func (*ByteBuffer) Append

func (bb *ByteBuffer) Append(buff ...byte)

func (*ByteBuffer) Cap

func (bb *ByteBuffer) Cap() int

func (*ByteBuffer) MaxSize

func (bb *ByteBuffer) MaxSize() int

func (*ByteBuffer) Prepend

func (bb *ByteBuffer) Prepend(buff []byte) bool

func (*ByteBuffer) ReadBuf

func (bb *ByteBuffer) ReadBuf() []byte

func (*ByteBuffer) ReadBufN

func (bb *ByteBuffer) ReadBufN(num int) []byte

func (*ByteBuffer) ReadFlip

func (bb *ByteBuffer) ReadFlip(size int)

func (*ByteBuffer) ReadReady

func (bb *ByteBuffer) ReadReady() bool

func (*ByteBuffer) ReadSize

func (bb *ByteBuffer) ReadSize() int

func (*ByteBuffer) Reset

func (bb *ByteBuffer) Reset()

func (*ByteBuffer) WriteBuf

func (bb *ByteBuffer) WriteBuf() []byte

func (*ByteBuffer) WriteFlip

func (bb *ByteBuffer) WriteFlip(size int)

func (*ByteBuffer) WriteGrow

func (bb *ByteBuffer) WriteGrow(size int)

func (*ByteBuffer) WriteSize

func (bb *ByteBuffer) WriteSize() int

Jump to

Keyboard shortcuts

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