https://github.com/cyberdelia/lz4
lz4 implements reading and writing of lz4 format compressed file or stream
https://github.com/cyberdelia/lz4
go lz4
Last synced: 7 months ago
JSON representation
lz4 implements reading and writing of lz4 format compressed file or stream
- Host: GitHub
- URL: https://github.com/cyberdelia/lz4
- Owner: cyberdelia
- License: mit
- Created: 2014-09-17T05:33:02.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T23:47:28.000Z (about 4 years ago)
- Last Synced: 2025-01-29T21:55:36.448Z (8 months ago)
- Topics: go, lz4
- Language: Go
- Homepage: https://pkg.go.dev/github.com/cyberdelia/lz4
- Size: 2.88 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lz4
lz4 implements reading and writing of lz4 format compressed files for Go, following lz4 stream format.
It uses the lz4 C library underneath.## Installation
Download and install:
```console
$ go get github.com/cyberdelia/lz4
```Add it to your code:
```go
import "github.com/cyberdelia/lz4"
```## Command line tool
Download and install:```console
$ go get github.com/cyberdelia/lz4/cmd/lz4
```Compress and decompress:
```console
$ lz4 testdata/pg135.txt
$ lz4 -d testdata/pg135.txt.lz4
```