compress
Package compress provides gzip helpers similar to Node.js zlib. Node equivalent: zlib.gzip, zlib.gunzip
import "github.com/sahilkhaire/gox/compress"
Select a symbol below — each page explains what it does, shows Node.js vs Go comparisons, and includes a runnable example.
Functions
| Symbol | Node.js | Kind | Summary |
|---|---|---|---|
| Gunzip | gunzipSync | func | Gunzip decompresses gzip data. |
| Gzip | gzipSync | func | Gzip compresses data with gzip. |
| GzipReader | — | func | GzipReader wraps a gzip reader over src. |
| GzipWriter | — | func | GzipWriter wraps dst with a gzip writer; caller must Close the writer. |