{"success":true,"data":{"ext":"bdic","name":"Google Chrome dictionary file","description":"Google Chrome dictionary files are binary dictionary resources created and maintained by Google Chrome for spell checking and word suggestion features. They are used by the browser and related Chromium-based applications to support input correction, language-specific dictionaries, and custom vocabulary data. The format is generally safe, though files from untrusted sources should be treated cautiously because any malformed binary data can potentially affect software that attempts to read it.","mime":[],"risk_level":"Safe","signatures":[{"hex":"42 44 69 63","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_bdic(file_path: str) -> bool:\n    \"\"\"Check if file is a valid BDIC by magic bytes.\"\"\"\n    signature = bytes([0x42, 0x44, 0x69, 0x63])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isBDIC(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x42, 0x44, 0x69, 0x63]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsBDIC(data []byte) bool {\n    signature := []byte{0x42, 0x44, 0x69, 0x63}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}