{"success":true,"data":{"ext":"hpsettings","name":"HPSETTINGS","description":"HPSETTINGS is a configuration file format used by HP Prime graphing calculators and associated software, developed and maintained by Hewlett-Packard and its successors. It stores calculator preferences, user interface settings, and other device parameters for transferring or restoring HP Prime environments. The format is generally safe, but files from untrusted sources should be reviewed before import because they may alter device behavior; it is not considered a legacy format.","mime":[],"risk_level":"Safe","signatures":[{"hex":"7C 61 8A B2","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["hpapp","hpprgm"],"usage":{"python":"def is_hpsettings(file_path: str) -> bool:\n    \"\"\"Check if file is a valid HPSETTINGS by magic bytes.\"\"\"\n    signature = bytes([0x7C, 0x61, 0x8A, 0xB2])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isHPSETTINGS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x7C, 0x61, 0x8A, 0xB2]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsHPSETTINGS(data []byte) bool {\n    signature := []byte{0x7C, 0x61, 0x8A, 0xB2}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}