{"success":true,"data":{"ext":"dba","name":"Palm DateBook Archive file","description":"Palm DateBook Archive (DBA) is a calendar archive file format created by Palm and used by Palm Desktop and related Palm OS synchronization tools. It stores DateBook appointments, recurring events, and other organizer data for backup, transfer, and desktop synchronization. The format is legacy and largely obsolete, but it is generally safe; as with any archived data file, it should be opened with trusted software to avoid corruption.","mime":[],"risk_level":"Safe","signatures":[{"hex":"00 01 42 44","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"BE BA FE CA","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]}],"related":[],"usage":{"python":"def is_dba(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DBA by magic bytes.\"\"\"\n    signature = bytes([0x00, 0x01, 0x42, 0x44])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDBA(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x00, 0x01, 0x42, 0x44]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDBA(data []byte) bool {\n    signature := []byte{0x00, 0x01, 0x42, 0x44}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}