{"success":true,"data":{"ext":"syw","name":"Harvard Graphics for Windows symbol graphic","description":"SYW is a symbol graphic file format used by Harvard Graphics for Windows, developed by Harvard Graphics, Inc. for its presentation software. It stores reusable symbols and simple graphics for insertion into charts, slides, and other business presentation documents. The format is legacy and largely obsolete, but it is generally safe to handle; as with many older files, content should be opened with current tools from trusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"41 4D 59 4F","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_syw(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SYW by magic bytes.\"\"\"\n    signature = bytes([0x41, 0x4D, 0x59, 0x4F])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSYW(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x41, 0x4D, 0x59, 0x4F]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSYW(data []byte) bool {\n    signature := []byte{0x41, 0x4D, 0x59, 0x4F}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}