{"success":true,"data":{"ext":"myi","name":"MYI","description":"MYI is a MyISAM index file used by MySQL and MariaDB to store table indexing information for the MyISAM storage engine. It is primarily used alongside database tables to support indexed queries, record lookups, and table maintenance operations in legacy MySQL deployments. The format is generally safe, though it is a legacy component of older MyISAM-based database systems and may be replaced by newer storage engines in modern applications.","mime":["application/x-mysql-misam-compressed-index"],"risk_level":"Safe","signatures":[{"hex":"FE FE 06","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"FE FE 07","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":[],"usage":{"python":"def is_myi(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MYI by magic bytes.\"\"\"\n    signature = bytes([0xFE, 0xFE, 0x06])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isMYI(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xFE, 0xFE, 0x06]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsMYI(data []byte) bool {\n    signature := []byte{0xFE, 0xFE, 0x06}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}