mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 00:47:28 +01:00
Restore rac's CompressedSize to avoid Seek calls
This commit is contained in:
1 parent
f53bee37ba
commit
ca4a6c8846
8 files changed
+68
-54
No files matched your search
@@ -160,7 +160,8 @@ func Example_indexLocationAtStart() {
|
||||
|
||||
fmt.Printf("Decoded:\n")
|
||||
r := &rac.ChunkReader{
|
||||
ReadSeeker: bytes.NewReader(encoded),
|
||||
ReadSeeker: bytes.NewReader(encoded),
|
||||
CompressedSize: int64(len(encoded)),
|
||||
}
|
||||
zr := io.ReadCloser(nil)
|
||||
for {
|
||||
|
||||
Reference in new issue
Block a user