{"success":true,"data":{"ext":"ifb","name":"IFB","description":"IFB is a text-based calendar format associated with the iCalendar standard, maintained by the Internet Engineering Task Force (IETF) through its RFC specifications. It is used for exchanging calendar data such as events, schedules, reminders, and availability information in applications including email clients, personal information managers, and groupware systems. The format is generally safe, although calendar files may include links, attachments, or alarms that should be reviewed when received from untrusted sources.","mime":["text/calendar"],"risk_level":"Safe","signatures":[{"hex":"42 45 47 49 4E 3A 56 43 41 4C 45 4E 44 41 52","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["ics","vcf","vcs"],"usage":{"python":"def is_ifb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid IFB by magic bytes.\"\"\"\n    signature = bytes([0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x43, 0x41, 0x4C, 0x45, 0x4E, 0x44, 0x41, 0x52])\n    with open(file_path, \"rb\") as f:\n        return f.read(15) == signature","node":"function isIFB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x43, 0x41, 0x4C, 0x45, 0x4E, 0x44, 0x41, 0x52]);\n  return buffer.subarray(0, 15).equals(signature);\n}","go":"func IsIFB(data []byte) bool {\n    signature := []byte{0x42, 0x45, 0x47, 0x49, 0x4E, 0x3A, 0x56, 0x43, 0x41, 0x4C, 0x45, 0x4E, 0x44, 0x41, 0x52}\n    if len(data) < 15 {\n        return false\n    }\n    return bytes.Equal(data[:15], signature)\n}"}}}