byteseeker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 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 ByteSeeker

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

func NewByteSeeker

func NewByteSeeker(size, grow int) *ByteSeeker

func NewByteSeekerFromBytes

func NewByteSeekerFromBytes(b []byte, grow int, start bool) *ByteSeeker

func (*ByteSeeker) Bytes

func (ws *ByteSeeker) Bytes() []byte

func (*ByteSeeker) Read

func (ws *ByteSeeker) Read(p []byte) (n int, err error)

func (*ByteSeeker) Seek

func (ws *ByteSeeker) Seek(offset int64, whence int) (int64, error)

func (*ByteSeeker) Write

func (ws *ByteSeeker) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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