{"success":true,"data":{"ext":"obj","name":"MicrosoftCommon Object File Format","description":"Microsoft Common Object File Format (COFF) is a relocatable object file format developed and maintained by Microsoft for use on Intel 386 and compatible systems. It is used to store compiled code and symbols during linking, and appears in software development toolchains for Windows and related environments. The format is largely historical, having been superseded in many workflows by newer executable and object formats; files are generally low risk when handled by standard tools.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4C 01","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["3ds","blend","glb","stl"],"usage":{"python":"def is_obj(file_path: str) -> bool:\n    \"\"\"Check if file is a valid OBJ by magic bytes.\"\"\"\n    signature = bytes([0x4C, 0x01])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isOBJ(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4C, 0x01]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsOBJ(data []byte) bool {\n    signature := []byte{0x4C, 0x01}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"},"category":"CAD & 3D"}}