{"success":true,"data":{"ext":"dxb","name":"DXB","description":"DXB is a drawing interchange format created and maintained by Autodesk for exchanging AutoCAD drawing data, including vector geometry and image-related content, between compatible applications. It is used in CAD workflows for transferring technical drawings, importing and exporting linework, and preserving layout information across systems. DXB is a legacy format and is generally safe, although files from untrusted sources should still be opened with standard caution in any graphics or CAD software.","mime":["image/vnd.dxb"],"risk_level":"Safe","signatures":[{"hex":"41 75 74 6F 43 41 44 20 44 58 42 20 31 2E 30 0D 0A 30 78 31 41 30 30","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_dxb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DXB by magic bytes.\"\"\"\n    signature = bytes([0x41, 0x75, 0x74, 0x6F, 0x43, 0x41, 0x44, 0x20, 0x44, 0x58, 0x42, 0x20, 0x31, 0x2E, 0x30, 0x0D, 0x0A, 0x30, 0x78, 0x31, 0x41, 0x30, 0x30])\n    with open(file_path, \"rb\") as f:\n        return f.read(23) == signature","node":"function isDXB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x41, 0x75, 0x74, 0x6F, 0x43, 0x41, 0x44, 0x20, 0x44, 0x58, 0x42, 0x20, 0x31, 0x2E, 0x30, 0x0D, 0x0A, 0x30, 0x78, 0x31, 0x41, 0x30, 0x30]);\n  return buffer.subarray(0, 23).equals(signature);\n}","go":"func IsDXB(data []byte) bool {\n    signature := []byte{0x41, 0x75, 0x74, 0x6F, 0x43, 0x41, 0x44, 0x20, 0x44, 0x58, 0x42, 0x20, 0x31, 0x2E, 0x30, 0x0D, 0x0A, 0x30, 0x78, 0x31, 0x41, 0x30, 0x30}\n    if len(data) < 23 {\n        return false\n    }\n    return bytes.Equal(data[:23], signature)\n}"},"category":"Images"}}