Crowbar::Rules::SevenZipRule
Inherits Crowbar::Rule < Reference < Object
Structure-preserving rule for 7-Zip (7z) archives. Preserves the 6-byte 7z file signature and 32-byte archive header structure, while mutating archive version, NextHeader offsets, NextHeader sizes, and compressed stream payloads, and automatically recalculating the StartHeader CRC32.
Constants
SEVEN_ZIP_SIGNATURE = Bytes[55, 122, 188, 175, 39, 28]
Instance methods
Applies a structure-preserving transformation to the buffer
description
SourceChecks whether the buffer matches the format handled by this rule
name
Source