1
0
mirror of https://github.com/garraflavatra/go-fmp.git synced 2025-06-28 04:25:11 +00:00

Debug prints

This commit is contained in:
2025-06-14 14:24:35 +02:00
parent a7bde87c6f
commit d9ffc3e573
5 changed files with 18 additions and 31 deletions

View File

@ -100,7 +100,7 @@ func (ctx *FmpFile) readHeader() error {
}
func (ctx *FmpFile) readSector() (*FmpSector, error) {
println("---------- Reading sector", ctx.currentSectorID)
debug("---------- Reading sector %d", ctx.currentSectorID)
buf := make([]byte, sectorHeaderSize)
n, err := ctx.stream.Read(buf)