{"success":true,"data":{"ext":"orc","name":"ORC","description":"ORC (Optimized Row Columnar) is a columnar data storage format developed and maintained by the Apache Software Foundation. It is commonly used in big data systems for efficient analytics, particularly with Apache Hive, Spark, and related tools. ORC files are generally safe to process, though, like other data files, they should be obtained from trusted sources and handled with software that is kept up to date.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4F 52 43","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_orc(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ORC by magic bytes.\"\"\"\n    signature = bytes([0x4F, 0x52, 0x43])\n    with open(file_path, \"rb\") as f:\n        return f.read(3) == signature","node":"function isORC(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4F, 0x52, 0x43]);\n  return buffer.subarray(0, 3).equals(signature);\n}","go":"func IsORC(data []byte) bool {\n    signature := []byte{0x4F, 0x52, 0x43}\n    if len(data) < 3 {\n        return false\n    }\n    return bytes.Equal(data[:3], signature)\n}"}}}