Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BZIP_C_MAGIC = []byte{0x31, 0x41, 0x59, 0x26, 0x53, 0x59}
View Source
var BZIP_MAGIC = []byte("BZh")
View Source
var GZIP_MAGIC = [...]byte{0x1f, 0x8b}
Functions ¶
This section is empty.
Types ¶
type Bzip2Filter ¶
type Bzip2Filter struct {
}
func (Bzip2Filter) Name ¶
func (gf Bzip2Filter) Name() string
func (Bzip2Filter) PeekLen ¶
func (gf Bzip2Filter) PeekLen() int
func (Bzip2Filter) Score ¶
func (gf Bzip2Filter) Score(name string, buf []byte) FilterScore
type FilterScore ¶
type FilterScore int
const ( FilterScoreNoMatch FilterScore = iota FilterScoreWeakMatch FilterScoreFullMatch )
type GzipFilter ¶
type GzipFilter struct {
}
func (GzipFilter) Name ¶
func (gf GzipFilter) Name() string
func (GzipFilter) PeekLen ¶
func (gf GzipFilter) PeekLen() int
func (GzipFilter) Score ¶
func (gf GzipFilter) Score(name string, buf []byte) FilterScore
Click to show internal directories.
Click to hide internal directories.