split

package
v0.0.0-...-9786dfa Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2013 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(r io.Reader, out chan<- []byte) error

func SplitFun

func SplitFun(r io.Reader, outFn func([]byte) error) error

Types

type Chunk

type Chunk struct {
	Offset   int
	Length   int
	Digest   []byte
	Contents []byte `json:"-"`
}

func (Chunk) String

func (c Chunk) String() string

Jump to

Keyboard shortcuts

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