{"success":true,"data":{"ext":"ace","name":"ACE","description":"ACE is a compressed archive file format originally developed by e-merge GmbH for the WinACE archiver and is now largely a legacy format with no active formal maintenance. It was used to reduce file size and bundle multiple files into a single archive for software distribution, backups, and general file transfer. Because ACE archives are uncommon today, support in modern tools is limited, and files from untrusted sources should be handled cautiously, as with any archive format.","mime":["application/x-ace-compressed"],"risk_level":"Safe","signatures":[{"hex":"2A 2A 41 43 45 2A 2A","offset":7,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":["7z","arj","bz","bz2","cab","cpio"],"usage":{"python":"def is_ace(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ACE by magic bytes at offset 7.\"\"\"\n    signature = bytes([0x2A, 0x2A, 0x41, 0x43, 0x45, 0x2A, 0x2A])\n    with open(file_path, \"rb\") as f:\n        f.seek(7)\n        return f.read(7) == signature","node":"function isACE(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x2A, 0x2A, 0x41, 0x43, 0x45, 0x2A, 0x2A]);\n  if (buffer.length < 14) return false;\n  return buffer.subarray(7, 14).equals(signature);\n}","go":"func IsACE(data []byte) bool {\n    signature := []byte{0x2A, 0x2A, 0x41, 0x43, 0x45, 0x2A, 0x2A}\n    if len(data) < 14 {\n        return false\n    }\n    return bytes.Equal(data[7:14], signature)\n}"},"category":"Archives"}}