707391baba
Create Reader Pulled back in Inode decoding and superblock New Data and Metadata readers Added getting of id, fragment, and export table data lazily Added README to squashfs/squashfs
14 lines
207 B
Go
14 lines
207 B
Go
package decompress
|
|
|
|
import (
|
|
"bytes"
|
|
|
|
"github.com/rasky/go-lzo"
|
|
)
|
|
|
|
type Lzo struct{}
|
|
|
|
func (l Lzo) Decompress(data []byte) ([]byte, error) {
|
|
return lzo.Decompress1X(bytes.NewReader(data), len(data), 0)
|
|
}
|