Documentation!

Though may functions/structs will be made private, I still want things documented.
This commit is contained in:
Caleb Gardner
2020-11-25 01:15:54 -06:00
parent 4f058f2f31
commit af36f9b9aa
5 changed files with 16 additions and 1 deletions
+4
View File
@@ -106,6 +106,8 @@ func (d *DataReader) readCurBlock() error {
d.curData = make([]byte, d.r.super.BlockSize)
d.blocks[d.curBlock].uncompressedSize = d.r.super.BlockSize
d.blocks[d.curBlock].begOffset = d.offset
fmt.Println("dat red")
fmt.Println(len(d.curData))
return nil
}
sec := io.NewSectionReader(d.r.r, d.offset, int64(d.blocks[d.curBlock].size))
@@ -118,6 +120,8 @@ func (d *DataReader) readCurBlock() error {
d.curData = btys
d.blocks[d.curBlock].begOffset = d.offset
d.offset += int64(d.blocks[d.curBlock].size)
fmt.Println("dat red")
fmt.Println(len(d.curData))
return nil
}
var buf bytes.Buffer