Module-Generic

 view release on metacpan or  search on metacpan

lib/Module/Generic/File/magic.json  view on Meta::CPAN

            "offset": 5,
            "range": 0,
            "type": "byte",
            "bytes": "02",
            "and": [
              {
                "offset": 16,
                "range": 0,
                "type": "big16",
                "bytes": "0004"
              }
            ]
          }
        ]
      },
      {
        "offset": 0,
        "range": 0,
        "type": "string",
        "bytes": "436f726501"
      },
      {
        "offset": 0,
        "range": 0,
        "type": "string",
        "bytes": "436f726502"
      }
    ]
  },
  {
    "mime": "application/x-dar",
    "priority": 50,
    "matches": [
      {
        "offset": 0,
        "range": 0,
        "type": "big32",
        "bytes": "0000007b"
      }
    ]
  },
  {
    "mime": "application/x-designer",
    "priority": 50,
    "matches": [
      {
        "offset": 0,
        "range": 256,
        "type": "string",
        "bytes": "3c756920"
      },
      {
        "offset": 0,
        "range": 256,
        "type": "string",
        "bytes": "3c554920"
      }
    ]
  },
  {
    "mime": "application/x-desktop",
    "priority": 50,
    "matches": [
      {
        "offset": 0,
        "range": 32,
        "type": "string",
        "bytes": "5b4465736b746f7020456e7472795d"
      },
      {
        "offset": 0,
        "range": 0,
        "type": "string",
        "bytes": "5b4465736b746f7020416374696f6e"
      },
      {
        "offset": 0,
        "range": 0,
        "type": "string",
        "bytes": "5b4b4445204465736b746f7020456e7472795d"
      },
      {
        "offset": 0,
        "range": 0,
        "type": "string",
        "bytes": "2320436f6e6669672046696c65"
      },
      {
        "offset": 0,
        "range": 0,
        "type": "string",
        "bytes": "23204b444520436f6e6669672046696c65"
      }
    ]
  },
  {
    "mime": "application/x-dia-diagram",
    "priority": 50,
    "matches": [
      {
        "offset": 5,
        "range": 95,
        "type": "string",
        "bytes": "3c6469613a"
      }
    ]
  },
  {
    "mime": "application/x-dia-shape",
    "priority": 50,
    "matches": [
      {
        "offset": 5,
        "range": 95,
        "type": "string",
        "bytes": "3c7368617065"
      }
    ]
  },
  {
    "mime": "application/x-doom-wad",



( run in 0.639 second using v1.01-cache-2.11-cpan-13bb782fe5a )