{"success":true,"data":{"ext":"cnt","name":"CNT","description":"CNT (Help Contents) is a legacy Windows help index file format developed by Microsoft for the Microsoft Windows 3.x and Windows 95 help system. It stores the table of contents and navigation structure used by help viewers to organize topics, links, and search entries. The format is obsolete and largely replaced by newer help technologies; it is generally safe, though files from untrusted sources should still be handled carefully.","mime":[],"risk_level":"Safe","signatures":[{"hex":"3A 42 61 73 65 20","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_cnt(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CNT by magic bytes.\"\"\"\n    signature = bytes([0x3A, 0x42, 0x61, 0x73, 0x65, 0x20])\n    with open(file_path, \"rb\") as f:\n        return f.read(6) == signature","node":"function isCNT(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x3A, 0x42, 0x61, 0x73, 0x65, 0x20]);\n  return buffer.subarray(0, 6).equals(signature);\n}","go":"func IsCNT(data []byte) bool {\n    signature := []byte{0x3A, 0x42, 0x61, 0x73, 0x65, 0x20}\n    if len(data) < 6 {\n        return false\n    }\n    return bytes.Equal(data[:6], signature)\n}"}}}