Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StubWorkerPool = &stubWorkerPool{}
Functions ¶
This section is empty.
Types ¶
type BlockIdxT ¶
type BlockIdxT = descriptor.BlockIdxT
type DictCallbackT ¶
Emits 'id' embedded in header. Callback may return optional dictionary.
type OptsT ¶
type OptsT struct { NParallel int PendingSz int Level compress.LevelT ContentSz *uint64 ReadOffset int64 BlockChecksum bool BlockLinked bool ContentChecksum bool SkipContentSz bool Dictionary []byte DictionaryId *uint32 DictCallback DictCallbackT BlockSizeIdx BlockIdxT Handler ProgressFuncT WorkerPool WorkerPool SkipCallback SkipCallbackT }
func (OptsT) CalcPending ¶
func (OptsT) NewCompressorFactory ¶
func (o OptsT) NewCompressorFactory() compress.CompressorFactory
type ProgressFuncT ¶
type ProgressFuncT func(srcOffset, dstPos int64)
Emits offset in bytes from beginning of stream of src and corresponding block.
type SkipCallbackT ¶
The 'nibble' parameter contains the user defined low nibble in the skip frame magic prefix.
Callback must return number of bytes read.
type WorkerPool ¶
type WorkerPool interface {
Submit(task func())
}
Click to show internal directories.
Click to hide internal directories.