{"success":true,"data":{"ext":"ez2","name":"EZ2","description":"EZ2 is a sample library format associated with Emax synth samples and maintained within the Emulator-related software ecosystem. It is used to store instrument and waveform data for music production, sound design, and playback in compatible sampler applications. The format is generally considered safe; as a legacy audio resource type, it primarily poses the usual risks of corrupted or malformed media files rather than executable malware.","mime":["application/vnd.ezpix-album"],"risk_level":"Safe","signatures":[{"hex":"45 4D 58 32","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_ez2(file_path: str) -> bool:\n    \"\"\"Check if file is a valid EZ2 by magic bytes.\"\"\"\n    signature = bytes([0x45, 0x4D, 0x58, 0x32])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isEZ2(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x45, 0x4D, 0x58, 0x32]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsEZ2(data []byte) bool {\n    signature := []byte{0x45, 0x4D, 0x58, 0x32}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}