mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-12 05:25:03 +00:00
[PR #300] XZ: fix padding issues #954
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/300
State: closed
Merged: Yes
SkipPaddinginXZBlockandXZIndexdid not always skip the right number of bytes:This PR fixes both
SkipPaddingmethods, resolves #289 and resolves #296.I added unit tests using two new inline XZ files (an empty one, and one with 2 blocks), in order to test more cases.
Note that this relies on my previous PR #299: I created a new branch on top of the one I used for the previous PR, not sure if that was the right way to go...