{"success":true,"data":{"ext":"smu","name":"SMU","description":"SMU is an IFF-based musical score file format developed for Electronic Arts and Amiga software as part of the Interchange File Format family. It was used to store and exchange simple music notation and composition data in compatible sequencing and multimedia applications. The format is legacy and is rarely encountered today, but it is generally considered safe because it stores structured score data rather than executable content.","mime":[],"risk_level":"Safe","signatures":[{"hex":"46 4F 52 4D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"53 4D 55 53","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_smu(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SMU by magic bytes.\"\"\"\n    signature = bytes([0x46, 0x4F, 0x52, 0x4D])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSMU(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x46, 0x4F, 0x52, 0x4D]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSMU(data []byte) bool {\n    signature := []byte{0x46, 0x4F, 0x52, 0x4D}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}