// Detect It Easy: detection rule file format

init("archive", "7-Zip");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (Binary.getSize() >= 64) {
        if (Binary.compare("'7z'BCAF271C")) {
            sVersion = Binary.readByte(6) + "." + Binary.readByte(7);
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}