{"success":true,"data":{"ext":"sdd","name":"SDD","description":"StarOffice Impress Document (SDD) is a presentation file format created by StarDivision and later maintained by Sun Microsystems for the StarOffice suite. It was used for slide-based presentations, including text, charts, graphics, and speaker notes, and opened primarily in StarOffice and early LibreOffice versions. As a legacy format, it is generally safe to inspect, though compatibility is limited and conversion to modern OpenDocument Presentation files is often required.","mime":["application/vnd.stardivision.impress"],"risk_level":"Safe","signatures":[{"hex":"D0 CF 11 E0 A1 B1 1A E1","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_sdd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SDD by magic bytes.\"\"\"\n    signature = bytes([0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isSDD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsSDD(data []byte) bool {\n    signature := []byte{0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"}}}