// DIE's signature file

init("format","Universal Binary");

function detect(bShowType,bShowVersion,bShowOptions)
{
    if(Binary.getSize()>=8)
    {
        if(Binary.compare("CAFEBABE"))
        {
            var nMinor=Binary.readBEWord(4);
            var nMajor=Binary.readBEWord(6);
            if(nMinor)
            {
                 bDetected=1;
            }
        }
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
