We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 356c77a commit 7ba783fCopy full SHA for 7ba783f
src/compress/mod.rs
@@ -211,7 +211,7 @@ impl CompressorInner {
211
writer.write_bits(0, 3)?;
212
let writer = writer.flush()?;
213
writer.write_all(&[0xff, 0xff, 0, 0])?;
214
- writer.write_all(&input[start..][..STORED_BLOCK_MAX_SIZE])?;
+ writer.write_all(&input[..STORED_BLOCK_MAX_SIZE])?;
215
input = &input[STORED_BLOCK_MAX_SIZE..];
216
written += STORED_BLOCK_MAX_SIZE;
217
}
0 commit comments