{"success":true,"data":{"ext":"rtd","name":"RagTime document file","description":"RagTime document file (RTD) is a document format created and maintained by RagTime GmbH for the RagTime desktop publishing and office suite. It is used for word processing, page layout, spreadsheets, graphics, and integrated business documents in professional publishing workflows. The format is generally considered safe, though it is a legacy proprietary format and may require compatible software or converters for reliable access on modern systems.","mime":[],"risk_level":"Safe","signatures":[{"hex":"43 23 2B 44 A4 43 4D A5 48 64 72","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_rtd(file_path: str) -> bool:\n    \"\"\"Check if file is a valid RTD by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x23, 0x2B, 0x44, 0xA4, 0x43, 0x4D, 0xA5, 0x48, 0x64, 0x72])\n    with open(file_path, \"rb\") as f:\n        return f.read(11) == signature","node":"function isRTD(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x23, 0x2B, 0x44, 0xA4, 0x43, 0x4D, 0xA5, 0x48, 0x64, 0x72]);\n  return buffer.subarray(0, 11).equals(signature);\n}","go":"func IsRTD(data []byte) bool {\n    signature := []byte{0x43, 0x23, 0x2B, 0x44, 0xA4, 0x43, 0x4D, 0xA5, 0x48, 0x64, 0x72}\n    if len(data) < 11 {\n        return false\n    }\n    return bytes.Equal(data[:11], signature)\n}"}}}