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:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user