An open API service indexing awesome lists of open source software.

https://github.com/aixiansheng/lzfse

An LZFSE decompressor written in Go. Mostly useful for decompressing iOS kernel caches via blacktop/ipsw.
https://github.com/aixiansheng/lzfse

apple decompression golang ios kernelcache lzfse lzfse-compression-algorithm lzfse-decompressor

Last synced: about 2 months ago
JSON representation

An LZFSE decompressor written in Go. Mostly useful for decompressing iOS kernel caches via blacktop/ipsw.

Awesome Lists containing this project

README

          

# lzfse

[![Go](https://github.com/aixiansheng/lzfse/workflows/Go/badge.svg?branch=master)](https://github.com/aixiansheng/lzfse/actions) [![GoDoc](https://godoc.org/github.com/aixiansheng/lzfse?status.svg)](https://pkg.go.dev/github.com/aixiansheng/lzfse)

> An LZFSE decompressor written in Go

```golang
package main

import (
"os"
"gihub.com/aixiansheng/lzfse"
)

func main() {
inf, err := os.Open("some.lzfse")
outf, err := os.Create("some.file")
d := lzfse.NewReader(fh)
io.Copy(outf, d)
}
```

## Testing

```
make -C test/

# all tests
go test -v

# just one test
go test -v -run TestVariousSizes/test/test.small.dec.cmp
```