mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Remove unnecessary rac CompressedSize field
This commit is contained in:
1 parent
a61d735d54
commit
08798669eb
7 files changed
+48
-49
No files matched your search
+3
-6
@@ -350,8 +350,7 @@ func TestMultiLevelIndex(t *testing.T) {
|
||||
}
|
||||
|
||||
p := &Parser{
|
||||
ReadSeeker: bytes.NewReader(encoded),
|
||||
CompressedSize: int64(len(encoded)),
|
||||
ReadSeeker: bytes.NewReader(encoded),
|
||||
}
|
||||
gotPrimaries := []byte(nil)
|
||||
for {
|
||||
@@ -403,8 +402,7 @@ loop:
|
||||
|
||||
encoded := buf.Bytes()
|
||||
p := &Parser{
|
||||
ReadSeeker: bytes.NewReader(encoded),
|
||||
CompressedSize: int64(len(encoded)),
|
||||
ReadSeeker: bytes.NewReader(encoded),
|
||||
}
|
||||
for n := 0; ; n++ {
|
||||
if _, err := p.NextChunk(); err == io.EOF {
|
||||
@@ -476,8 +474,7 @@ loop:
|
||||
}
|
||||
|
||||
p := &Parser{
|
||||
ReadSeeker: bytes.NewReader(tc.compressed),
|
||||
CompressedSize: int64(len(tc.compressed)),
|
||||
ReadSeeker: bytes.NewReader(tc.compressed),
|
||||
}
|
||||
|
||||
if gotDecompressedSize, err := p.DecompressedSize(); err != nil {
|
||||
|
||||
Reference in new issue
Block a user