{"success":true,"data":{"ext":"dwf","name":"DWF","description":"Design Web Format (DWF) is a file format developed by Autodesk for sharing design and engineering data. It is used for distributing CAD drawings, models, and related documentation for viewing, markup, and review in applications such as Autodesk Design Review and other compatible viewers. DWF files are generally safe to open, though as with any design file, they should be obtained from trusted sources; the format remains in use as a non-editable exchange format.","mime":["model/vnd.dwf"],"risk_level":"Safe","signatures":[{"hex":"28 44 57 46 20 56","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_dwf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DWF by magic bytes.\"\"\"\n    signature = bytes([0x28, 0x44, 0x57, 0x46, 0x20, 0x56])\n    with open(file_path, \"rb\") as f:\n        return f.read(6) == signature","node":"function isDWF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x28, 0x44, 0x57, 0x46, 0x20, 0x56]);\n  return buffer.subarray(0, 6).equals(signature);\n}","go":"func IsDWF(data []byte) bool {\n    signature := []byte{0x28, 0x44, 0x57, 0x46, 0x20, 0x56}\n    if len(data) < 6 {\n        return false\n    }\n    return bytes.Equal(data[:6], signature)\n}"},"category":"CAD & 3D"}}