{"success":true,"data":{"ext":"adx","name":"ADXlossy compressed audio file","description":"ADX is a lossy compressed audio file format developed by CRI Middleware and used in its audio tools and middleware. It is commonly used for background music, voice, and sound effects in video games and other interactive media. The format has long been associated with console game development and is generally considered safe, though playback support may depend on compatible decoders.","mime":[],"risk_level":"Safe","signatures":[{"hex":"03 00 00 00 41 50 50 52","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"80 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["nfc","qph"],"usage":{"python":"def is_adx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ADX by magic bytes.\"\"\"\n    signature = bytes([0x03, 0x00, 0x00, 0x00, 0x41, 0x50, 0x50, 0x52])\n    with open(file_path, \"rb\") as f:\n        return f.read(8) == signature","node":"function isADX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x03, 0x00, 0x00, 0x00, 0x41, 0x50, 0x50, 0x52]);\n  return buffer.subarray(0, 8).equals(signature);\n}","go":"func IsADX(data []byte) bool {\n    signature := []byte{0x03, 0x00, 0x00, 0x00, 0x41, 0x50, 0x50, 0x52}\n    if len(data) < 8 {\n        return false\n    }\n    return bytes.Equal(data[:8], signature)\n}"}}}