Help us shape the future of Go! Take the 2026 Go Developer Survey

buffer

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskBuffer

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

func New

func New() (*DiskBuffer, error)

func (*DiskBuffer) Bytes

func (db *DiskBuffer) Bytes() ([]byte, error)

func (*DiskBuffer) Close

func (db *DiskBuffer) Close()

func (*DiskBuffer) Reader

func (db *DiskBuffer) Reader() (io.ReadSeekCloser, error)

all readers must be closed to avoid FD leak

func (*DiskBuffer) String

func (db *DiskBuffer) String() (string, error)

func (*DiskBuffer) Write

func (db *DiskBuffer) Write(b []byte) (int, error)

func (*DiskBuffer) WriteAt

func (db *DiskBuffer) WriteAt(b []byte, off int64) (int, error)

func (*DiskBuffer) WriteString

func (db *DiskBuffer) WriteString(s string) (int, error)

Jump to

Keyboard shortcuts

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