{"success":true,"data":{"ext":"stg","name":"STG","description":"STG is a training data file format associated with SEAN (Session Analysis) and related Rowperfect for Windows applications, maintained by the vendors of those programs. It is used to store rowing session analysis and training records for review in compatible software such as RPW and RP3W. The format is considered safe and is primarily of historical interest, as it is tied to legacy Windows training tools.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 49 4C 20","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_stg(file_path: str) -> bool:\n    \"\"\"Check if file is a valid STG by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x49, 0x4C, 0x20])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSTG(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x49, 0x4C, 0x20]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSTG(data []byte) bool {\n    signature := []byte{0x4D, 0x49, 0x4C, 0x20}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}