https://github.com/alexrsagen/go-zlib-tool
Tool for compressing and extracting raw zlib compressed files.
https://github.com/alexrsagen/go-zlib-tool
compress decompress extract go golang tool zlib
Last synced: 4 days ago
JSON representation
Tool for compressing and extracting raw zlib compressed files.
- Host: GitHub
- URL: https://github.com/alexrsagen/go-zlib-tool
- Owner: alexrsagen
- License: mit
- Created: 2018-10-28T17:15:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-10T10:32:59.000Z (over 2 years ago)
- Last Synced: 2024-06-20T11:14:09.464Z (almost 2 years ago)
- Topics: compress, decompress, extract, go, golang, tool, zlib
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-zlib-tool
Tool for compressing and extracting raw zlib compressed files.
Uses [compress/zlib](https://pkg.go.dev/compress/zlib) internally.
Should support any file starting with the following zlib magic headers:
- `78 01` - No Compression/low
- `78 9C` - Default Compression
- `78 DA` - Best Compression
Can only extract a single compressed file.
## Usage
```
Usage of go-zlib-tool:
-c Compress the input
-x Extract the input
-i string
Input path
-o string
Output path
```