{"success":true,"data":{"ext":"gdraw","name":"Google Drive Drawing link","description":"Google Drive Drawing link is a web-based link format used by Google to reference a drawing stored in Google Drive or Google Drawings. It is used to open, share, and collaborate on diagrams, flowcharts, sketches, and other lightweight visual documents within Google Workspace and compatible browsers. As a link-based resource, it generally poses little direct risk, though users should verify the destination before opening links from untrusted sources.","mime":[],"risk_level":"Safe","signatures":[{"hex":"7B 22 75 72 6C 22 3A 20 22 68 74 74 70 73 3A 2F","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["gdoc"],"usage":{"python":"def is_gdraw(file_path: str) -> bool:\n    \"\"\"Check if file is a valid GDRAW by magic bytes.\"\"\"\n    signature = bytes([0x7B, 0x22, 0x75, 0x72, 0x6C, 0x22, 0x3A, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F])\n    with open(file_path, \"rb\") as f:\n        return f.read(16) == signature","node":"function isGDRAW(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x7B, 0x22, 0x75, 0x72, 0x6C, 0x22, 0x3A, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F]);\n  return buffer.subarray(0, 16).equals(signature);\n}","go":"func IsGDRAW(data []byte) bool {\n    signature := []byte{0x7B, 0x22, 0x75, 0x72, 0x6C, 0x22, 0x3A, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3A, 0x2F}\n    if len(data) < 16 {\n        return false\n    }\n    return bytes.Equal(data[:16], signature)\n}"}}}