{"success":true,"data":{"ext":"a","name":"A","description":"The A file format is a Unix archive format associated with the ar utility, originally developed for Unix systems and maintained by standard toolchains that support archive creation and extraction. It is used primarily to group object files into static libraries and to package related build artifacts for software development and system distribution. It is generally safe to handle, though some variants are legacy formats and may be encountered mainly in older toolchains.","mime":["application/x-archive"],"risk_level":"Safe","signatures":[{"hex":"3D 3C 61 72 3E","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]},{"hex":"21 3C 61 72 63 68 3E 0A","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["ar","bin","com","dll","elf","exe"],"usage":{"python":"def is_a(file_path: str) -> bool:\n    \"\"\"Check if file is a valid A by magic bytes.\"\"\"\n    signature = bytes([0x3D, 0x3C, 0x61, 0x72, 0x3E])\n    with open(file_path, \"rb\") as f:\n        return f.read(5) == signature","node":"function isA(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x3D, 0x3C, 0x61, 0x72, 0x3E]);\n  return buffer.subarray(0, 5).equals(signature);\n}","go":"func IsA(data []byte) bool {\n    signature := []byte{0x3D, 0x3C, 0x61, 0x72, 0x3E}\n    if len(data) < 5 {\n        return false\n    }\n    return bytes.Equal(data[:5], signature)\n}"},"category":"Executables"}}