Starting on writing the library
Currently just parses the superblock (but that works!)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user