{"success":true,"data":{"ext":"adf","name":"Amiga Disk File (ADF)","description":"Amiga Disk File (ADF) is a disk image format used with Commodore Amiga computers, originally created for the Amiga ecosystem and now maintained through community support and archival use. It is commonly used to store floppy disk images for emulation, software preservation, and transfer of classic Amiga games and utilities. As a legacy format, it is generally safe, though files from untrusted sources should still be handled cautiously.","mime":["application/x-amiga-disk-format"],"risk_level":"Safe","signatures":[{"hex":"44 4F 53","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"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"52 45 56 4E 55 4D 3A 2C","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["dmg","vhd","vmdk","bin","iso","toast"],"usage":{"python":"def is_adf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ADF by magic bytes.\"\"\"\n    signature = bytes([0x44, 0x4F, 0x53])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isADF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x44, 0x4F, 0x53]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsADF(data []byte) bool {\n    signature := []byte{0x44, 0x4F, 0x53}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"},"category":"Disk Images"}}