{"success":true,"data":{"ext":"tde","name":"TDE","description":"Tableau Data Extract (TDE) is a compressed data extract file format developed and maintained by Tableau Software for use with Tableau products. It is used to store structured data for analytics, reporting, and offline querying in workbooks, dashboards, and data preparation workflows. TDE is a legacy format that has largely been replaced by the Hyper extract format; it is generally safe, though extracts should still be trusted only from reliable sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"20 02 01 62 A0 1E AB 07","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"02 00 00 00","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_tde(file_path: str) -> bool:\n    \"\"\"Check if file is a valid TDE by magic bytes.\"\"\"\n    signature = bytes([0x20, 0x02, 0x01, 0x62, 0xA0, 0x1E, 0xAB, 0x07])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isTDE(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x20, 0x02, 0x01, 0x62, 0xA0, 0x1E, 0xAB, 0x07]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsTDE(data []byte) bool {\n    signature := []byte{0x20, 0x02, 0x01, 0x62, 0xA0, 0x1E, 0xAB, 0x07}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"}}}