fastbuffer

package
v1.67.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 2 Imported by: 3

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 added in v1.63.0

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) 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