// Detect It Easy: detection rule file
// Author: horsicq <horsicq@gmail.com>

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

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

    return result();
}