Files
squashfs/uncompress.go
T
Caleb Gardner 630e6e0f7c Starting on writing the library
Currently just parses the superblock (but that works!)
2020-11-10 05:54:49 -06:00

15 lines
409 B
Go

package squashfs
import "io"
func uncompressData(data []byte, compressionType int) []byte {
//TODO: check compression type and uncompress the data
return make([]byte, 0)
}
//same os uncompressData, but uses a reader instead. reader's seek will be
func uncompressReaderData(reader *io.Reader, compressionType int) []byte {
//TODO: check compression type and uncompress the data
return make([]byte, 0)
}