fastbuffer

package
v2.0.0-rc.113 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastBuffer

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

func New

func New() *FastBuffer

func (*FastBuffer) Bytes

func (f *FastBuffer) Bytes() []byte

func (*FastBuffer) Grow

func (f *FastBuffer) Grow(n int)

Grow increases the buffer capacity to be able to hold at least n more bytes

func (*FastBuffer) Len

func (f *FastBuffer) Len() int

func (*FastBuffer) Reset

func (f *FastBuffer) Reset()

func (*FastBuffer) Reslice

func (f *FastBuffer) Reslice(start, end int)

func (*FastBuffer) String

func (f *FastBuffer) String() string

func (*FastBuffer) UnsafeString

func (f *FastBuffer) UnsafeString() string

func (*FastBuffer) Write

func (f *FastBuffer) Write(p []byte) (n int, err error)

func (*FastBuffer) WriteBytes

func (f *FastBuffer) WriteBytes(b []byte)

func (*FastBuffer) WriteString

func (f *FastBuffer) WriteString(s string)

Jump to

Keyboard shortcuts

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