{"success":true,"data":{"ext":"mmm","name":"MMM","description":"MMM is a legacy multimedia movie file format developed by MacroMind and later associated with Microsoft multimedia software. It was used for storing animated presentations and simple video or audio sequences in early desktop publishing and authoring applications. The format is largely obsolete, but files are generally safe to inspect; as with any legacy media file, playback should be limited to trusted software.","mime":[],"risk_level":"Safe","signatures":[{"hex":"52 49 46 46 52 4D 4D 50","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["ani","cda","cdr","cmx","ds4","qcp"],"usage":{"python":"def is_mmm(file_path: str) -> bool:\n    \"\"\"Check if file is a valid MMM by magic bytes.\"\"\"\n    signature = bytes([0x52, 0x49, 0x46, 0x46, 0x52, 0x4D, 0x4D, 0x50])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isMMM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x52, 0x49, 0x46, 0x46, 0x52, 0x4D, 0x4D, 0x50]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsMMM(data []byte) bool {\n    signature := []byte{0x52, 0x49, 0x46, 0x46, 0x52, 0x4D, 0x4D, 0x50}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"},"category":"Images"}}