Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlockSize = 1024 * 1024
Functions ¶
func BenchmarkCompress ¶
func BenchmarkDecompress ¶
func Decompress ¶
func GzipLevel ¶
func GzipLevel(level compression.Level) int
func SetLevel ¶
func SetLevel(level compression.Level)
SetLevel update the compression level.
NOTE: this function must only be called during initialization time (i.e. in an init() function), and is not thread-safe.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.