Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
Compressor is a squashfs decompressor interface. Allows for easy compression.
type Decompressor ¶
Decompressor is a squashfs decompressor interface. Allows for easy decompression no matter the type of compression.
type Gzip ¶
type Gzip struct { HasCustomWindow bool HasStrategies bool // contains filtered or unexported fields }
Gzip is a decompressor for gzip type compression. Uses zlib for compression and decompression
func NewGzipCompressorWithOptions ¶
NewGzipCompressorWithOptions creates a new gzip compressor/decompressor with options read from the given reader.
type Lz4 ¶
type Lz4 struct {
HC bool
}
Lz4 is a Lz4 Compressor/Decompressor
func NewLz4CompressorWithOptions ¶
NewLz4CompressorWithOptions creates a new lz4 compressor/decompressor with options read from the given reader.
type Lzma ¶
type Lzma struct{}
Lzma is a lzma decompressor
type Xz ¶
Xz is a Xz decompressor.
func NewXzCompressorWithOptions ¶
NewXzCompressorWithOptions creates a new Xz compressor/decompressor that reads the compressor options from the given reader.