chunk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 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 ChunkError

type ChunkError struct {
	What string
}

func (ChunkError) Error

func (e ChunkError) Error() string

type Chunks

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

func New

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

func (*Chunks) Get

func (c *Chunks) Get() (int, int, string)

func (*Chunks) Next

func (c *Chunks) Next() bool

type SingleChunk

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

Jump to

Keyboard shortcuts

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