{"success":true,"data":{"ext":"pwrdata","name":"PWRDATA","description":"PWRDATA is a data file format used by SAP Power Monitor, maintained as part of the application's data storage. It stores monitoring information for power analysis, reporting, and related operational records within the software. The format is considered safe, and no public specification is commonly documented, so compatibility may vary across versions.","mime":[],"risk_level":"Safe","signatures":[{"hex":"70 77 72 64 61 74 61","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_pwrdata(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PWRDATA by magic bytes.\"\"\"\n    signature = bytes([0x70, 0x77, 0x72, 0x64, 0x61, 0x74, 0x61])\n    with open(file_path, \"rb\") as f:\n        return f.read(7) == signature","node":"function isPWRDATA(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x70, 0x77, 0x72, 0x64, 0x61, 0x74, 0x61]);\n  return buffer.subarray(0, 7).equals(signature);\n}","go":"func IsPWRDATA(data []byte) bool {\n    signature := []byte{0x70, 0x77, 0x72, 0x64, 0x61, 0x74, 0x61}\n    if len(data) < 7 {\n        return false\n    }\n    return bytes.Equal(data[:7], signature)\n}"}}}