Working on how to actually write the archive.

Made SuperblockFlags public so you can set options when writing
This commit is contained in:
Caleb Gardner
2021-01-16 15:42:55 -06:00
parent 4187598783
commit 69f56d6951
5 changed files with 116 additions and 40 deletions
+15
View File
@@ -0,0 +1,15 @@
package squashfs
import (
"io"
)
type bufferedWriter struct {
w io.Writer
buffer []bufferedBytes
}
type bufferedBytes struct {
data []byte
offset int
}