From 3060c4056dee35e6bb1924a2855a59b2ddb5018b Mon Sep 17 00:00:00 2001 From: "Caleb J. Gardner" Date: Sun, 8 Mar 2026 06:11:15 -0500 Subject: [PATCH] Fix #44 --- low/data/reader.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/low/data/reader.go b/low/data/reader.go index dc7d9ac..a5b6d82 100644 --- a/low/data/reader.go +++ b/low/data/reader.go @@ -55,6 +55,8 @@ func (d *Reader) Read(buf []byte) (int, error) { } toRead = min(len(d.curBlock)-int(d.curOffset), len(buf)-totRed) copy(buf[totRed:], d.curBlock[d.curOffset:d.curOffset+uint32(toRead)]) + totRed += toRead + d.curOffset += uint32(toRead) } return totRed, nil }