Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bzip2Decompressor ¶
Bzip2Decompressor is a DecompressorFunc for the bzip2 compression algorithm.
func GzipDecompressor ¶
GzipDecompressor is a DecompressorFunc for the gzip compression algorithm.
Types ¶
type DecompressorFunc ¶
DecompressorFunc returns the decompressed stream, given a compressed stream.
func DetectCompression ¶
DetectCompression returns a DecompressorFunc if the input is recognized as a compressed format, nil otherwise. Because it consumes the start of input, other consumers must use the returned io.Reader instead to also read from the beginning.
Click to show internal directories.
Click to hide internal directories.