{"success":true,"data":{"ext":"msa","name":"MSA","description":"MSA (Magic Shadow Archiver) is a disk image format created for Atari ST systems by the Magic Shadow Archiver utility and preserved by the Atari community. It is used to store exact copies of floppy disks for archiving, emulation, and software distribution, especially for vintage games and applications. The format is largely legacy, and files should be handled cautiously only when obtained from untrusted sources, as with any disk image.","mime":["application/vnd.msa-disk-image"],"risk_level":"Safe","signatures":[{"hex":"0E 0F","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":[],"usage":{"python":"def is_msa(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MSA by magic bytes.\"\"\"\n    signature = bytes([0x0E, 0x0F])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isMSA(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x0E, 0x0F]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsMSA(data []byte) bool {\n    signature := []byte{0x0E, 0x0F}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}