Tidied up ExtractTAR

This commit is contained in:
n1073645 2019-11-18 08:40:57 +00:00
parent c1a22ef639
commit 2e7ce477d7

View File

@ -2857,7 +2857,7 @@ export function extractTAR(bytes, offset) {
stream.moveForwardsBy(0x101);
if (stream.getBytes(5).join("") !== [0x75, 0x73, 0x74, 0x61, 0x72].join("")) {
// This is needed since if it were not here it relies on there being at least 0x106 padding of 0s at the end of the TAR
// Needed since if it were not here it relies on there being at least 0x106 padding of 0s at the end of the TAR.
stream.moveBackwardsBy(0x106);
break;
}