# README
compress
Simply compressor, support zlib/gzip/flate/lzw.
Installation
To install the package, run:
go get github.com/go-zoox/compress
Getting Started
package main
import (
"fmt"
"github.com/go-zoox/compress"
)
func main() {
gzip := compress.NewGzip()
bytes := gzip.Compress([]byte("hello world"))
bytes2, _ := gzip.Decompress(bytes)
fmt.Println(string(bytes2))
}
Try in Go Playground.
Inspired By
- cosiner/gohper - common libs here
License
GoZoox is released under the MIT License.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Version is the current version of the package.