{"success":true,"data":{"ext":"anbm","name":"ANBM","description":"ANBM is an Interchange File Format bitmap variant from the Amiga platform, originally created within Commodore’s software ecosystem. It is used for storing and exchanging raster graphics in legacy Amiga applications, including image viewers, editors, and archival collections. The format is generally safe to inspect, but it is considered legacy; malformed files may expose parser bugs in older software, so files from untrusted sources should be opened with current tools.","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"}]},{"hex":"41 4E 42 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_anbm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ANBM 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 isANBM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsANBM(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}"}}}