{"success":true,"data":{"ext":"hed","name":"HighEdit document","description":"HighEdit document (HED) is a legacy document file format created for the HighEdit text editor by its original developer. It was used for drafting notes, editing plain text, and storing documents within HighEdit on DOS-based PCs. The format is now largely obsolete and generally safe, although legacy files should still be opened carefully with current antivirus checks and trusted software.","mime":[],"risk_level":"Safe","signatures":[{"hex":"01 C0 0C","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"A3 DE B0","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_hed(file_path: str) -> bool:\n    \"\"\"Check if file is a valid HED by magic bytes.\"\"\"\n    signature = bytes([0x01, 0xC0, 0x0C])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isHED(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x01, 0xC0, 0x0C]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsHED(data []byte) bool {\n    signature := []byte{0x01, 0xC0, 0x0C}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}