chunk

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chunks

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

func New

func New(low int, hi int, chunkSize int) (*Chunks, error)

func (*Chunks) Collect added in v0.5.0

func (c *Chunks) Collect() CollectedChunks

func (*Chunks) Get

func (c *Chunks) Get() SingleChunk

func (*Chunks) Next

func (c *Chunks) Next() bool

type CollectedChunks added in v0.5.0

type CollectedChunks []SingleChunk

type SingleChunk

type SingleChunk struct {
	Data   []byte
	Val    string
	Length int
	Offset int
}

Jump to

Keyboard shortcuts

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