{"success":true,"data":{"ext":"iff","name":"Electronic Arts'Interchange Format Files","description":"Electronic Arts Interchange File Format (IFF) is a structured container format developed by Electronic Arts for storing interchangeable data across different computer systems. It has been used for audio, images, animations, and other multimedia assets in games and legacy software, particularly on Amiga and related platforms. As a legacy format, it is generally safe to open, though compatibility support may be limited in modern applications.","mime":[],"risk_level":"Safe","signatures":[{"hex":"46 4F 52 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"49 4C 42 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"38 53 56 58","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"41 43 42 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"41 4E 42 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"41 4E 49 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"46 41 58 58","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"46 54 58 54","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"53 4D 55 53","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"43 4D 55 53","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"59 55 56 4E","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"46 41 4E 54","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"41 49 46 46","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"43 41 54 20","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"4C 49 53 54","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_iff(file_path: str) -> bool:\n    \"\"\"Check if file is a valid IFF by magic bytes.\"\"\"\n    signature = bytes([0x46, 0x4F, 0x52, 0x4D])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isIFF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsIFF(data []byte) bool {\n    signature := []byte{0x46, 0x4F, 0x52, 0x4D}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}