{"success":true,"data":{"ext":"utoc","name":"UTOC","description":"The UTOC file format is a table-of-contents container used by Epic Games’ Unreal Engine. It is used with packaged game content to reference asset bundles, support streaming, and organize data for installation and runtime loading. The format is generally safe, but as with other game data files, malformed or tampered files may cause errors in tools or engines that process them.","mime":[],"risk_level":"Safe","signatures":[{"hex":"2D 3D 3D 2D 2D 3D 3D 2D 2D 3D 3D 2D 2D 3D 3D 2D","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_utoc(file_path: str) -> bool:\n    \"\"\"Check if file is a valid UTOC by magic bytes.\"\"\"\n    signature = bytes([0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isUTOC(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsUTOC(data []byte) bool {\n    signature := []byte{0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D, 0x2D, 0x3D, 0x3D, 0x2D}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}