Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Score ¶
func Score(m pack.AbsoluteMatch) int
Types ¶
type BestSpeed ¶
type BestSpeed struct {
// contains filtered or unexported fields
}
BestSpeed is an implementation of the MatchFinder interface that is comparable to level 1 (BestSpeed) in compress/flate.
func (*BestSpeed) FindMatches ¶
FindMatches looks for matches in src, appends them to dst, and returns dst.
type BlockEncoder ¶
type BlockEncoder struct{}
A BlockEncoder implements the pack.Encoder interface, writing in the LZ4 block format.
func (BlockEncoder) Reset ¶
func (BlockEncoder) Reset()
type FrameEncoder ¶
type FrameEncoder struct {
// contains filtered or unexported fields
}
A FrameEncoder implements the pack.Encoder interface, writing in the LZ4 frame format.
func (*FrameEncoder) Reset ¶
func (f *FrameEncoder) Reset()
Click to show internal directories.
Click to hide internal directories.