{"success":true,"data":{"ext":"arc","name":"Internet Archive ARC (web archive)","description":"Internet Archive ARC (web archive) is a file format developed and maintained by the Internet Archive for storing archived web content. It was used to collect web pages and related resources for preservation, crawler output, and large-scale web archiving workflows. ARC is a legacy predecessor to the WARC format, and files from untrusted sources should be handled cautiously like other archived content.","mime":["application/x-internet-archive"],"risk_level":"Safe","signatures":[{"hex":"66 69 6C 65 64 65 73 63 3A 2F 2F","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":"41 52 43","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"41 72 43","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"1A 08","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"41 72 43 01","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_arc(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ARC by magic bytes.\"\"\"\n    signature = bytes([0x66, 0x69, 0x6C, 0x65, 0x64, 0x65, 0x73, 0x63, 0x3A, 0x2F, 0x2F])\n    with open(file_path, \"rb\") as f:\n        return f.read(11) == signature","node":"function isARC(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x66, 0x69, 0x6C, 0x65, 0x64, 0x65, 0x73, 0x63, 0x3A, 0x2F, 0x2F]);\n  return buffer.subarray(0, 11).equals(signature);\n}","go":"func IsARC(data []byte) bool {\n    signature := []byte{0x66, 0x69, 0x6C, 0x65, 0x64, 0x65, 0x73, 0x63, 0x3A, 0x2F, 0x2F}\n    if len(data) < 11 {\n        return false\n    }\n    return bytes.Equal(data[:11], signature)\n}"},"category":"Archives"}}