Documentation
¶
Overview ¶
Example ¶
data := []byte("howhowhowhowhowhowhowhowhow") compressed := Compress(data) fmt.Printf("performance %.4f\n", float64(len(compressed))/float64(len(data))) fmt.Println(string(Decompress(compressed)))
Output: performance 0.8889 howhowhowhowhowhowhowhowhow
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decompress ¶
Decompress data compressed by LZW algorithm
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.