Restarted some stuff so I can do it better.

Made a reader that can reade across data blocks if necessary
Still can't get things to read right
This commit is contained in:
Caleb Gardner
2020-11-13 16:11:44 -06:00
parent dbf7e9465a
commit 06b188d53c
20 changed files with 802 additions and 248 deletions
+1
View File
@@ -54,6 +54,7 @@ func NewDirectory(rdr io.Reader) (*Directory, error) {
if err != nil {
return nil, err
}
fmt.Println(hdr)
headers := hdr.Count / 256
if headers%256 > 0 {
headers++