Documentation ¶
Overview ¶
package chunk implements streaming block splitters
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBlockSize = 1024 * 256
View Source
var DefaultSplitter = &SizeSplitter{Size: DefaultBlockSize}
Functions ¶
This section is empty.
Types ¶
type BlockSplitter ¶
type MaybeRabin ¶
type MaybeRabin struct { MinBlockSize int MaxBlockSize int // contains filtered or unexported fields }
func NewMaybeRabin ¶
func NewMaybeRabin(avgBlkSize int) *MaybeRabin
type SizeSplitter ¶
type SizeSplitter struct {
Size int
}
Click to show internal directories.
Click to hide internal directories.