{"success":true,"data":{"ext":"clb","name":"Corel Binary metafile","description":"Corel Binary Metafile (CLB) is a vector graphics file format developed and used by Corel for storing drawing and illustration data. It is primarily used in Corel applications for exchanging clip art, logos, and other scalable graphics within desktop publishing and design workflows. The format is largely legacy today, and while it is generally safe to open, older files may require compatible software for proper rendering.","mime":[],"risk_level":"Safe","signatures":[{"hex":"43 4D 58 31","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"43 4F 4D 2B","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["cmx","cpt","psp"],"usage":{"python":"def is_clb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid CLB by magic bytes.\"\"\"\n    signature = bytes([0x43, 0x4D, 0x58, 0x31])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isCLB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x43, 0x4D, 0x58, 0x31]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsCLB(data []byte) bool {\n    signature := []byte{0x43, 0x4D, 0x58, 0x31}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}