{"success":true,"data":{"ext":"snp","name":"Microsoft Access Snapshot Viewer file","description":"Microsoft Access Snapshot Viewer is a proprietary file format created and maintained by Microsoft for distributing read-only snapshots of Access reports. It is used to view, print, and share formatted database reports on systems that do not have Microsoft Access installed, typically through the Snapshot Viewer application. The format is legacy and largely obsolete, and files should still be opened only from trusted sources as with any document format.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 53 43 46","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["cab","onepkg"],"usage":{"python":"def is_snp(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SNP by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x53, 0x43, 0x46])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSNP(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x53, 0x43, 0x46]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSNP(data []byte) bool {\n    signature := []byte{0x4D, 0x53, 0x43, 0x46}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}