{"success":true,"data":{"ext":"dms","name":"Amiga DiskMasher compressed archive","description":"Amiga DiskMasher System (DMS) is a legacy compressed disk-image archive format originally created by Dave Miller for the Commodore Amiga platform. It was used to store and distribute Amiga floppy disks in a compressed form, especially for software backups, preservation, and bulletin board system sharing. The format is largely obsolete, and some archives may contain intentionally protected or malformed data that requires cautious handling in modern tools.","mime":["application/octet-stream"],"risk_level":"Safe","signatures":[{"hex":"44 4D 53 21","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_dms(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DMS by magic bytes.\"\"\"\n    signature = bytes([0x44, 0x4D, 0x53, 0x21])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDMS(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x44, 0x4D, 0x53, 0x21]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDMS(data []byte) bool {\n    signature := []byte{0x44, 0x4D, 0x53, 0x21}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}