// Annotated Flatbuffer Binary
//
// Schema file: annotated_binary.fbs
// Binary file: tests/invalid_table_field_size.bin

header:
  +0x00 | 44 00 00 00             | UOffset32   | 0x00000044 (68) Loc: 0x44 | offset to root table `AnnotatedBinary.Foo`
  +0x04 | 41 4E 4E 4F             | char[4]     | ANNO                      | File Identifier

padding:
  +0x08 | 00 00                   | uint8_t[2]  | ..                        | padding

vtable (AnnotatedBinary.Foo):
  +0x0A | 3A 00                   | uint16_t    | 0x003A (58)               | size of this vtable
  +0x0C | 68 00                   | uint16_t    | 0x0068 (104)              | ERROR: size of referring table. Longer than the binary.
  +0x0E | 0C 00                   | VOffset16   | 0x000C (12)               | offset to field `counter` (id: 0)
  +0x10 | 07 00                   | VOffset16   | 0x0007 (7)                | offset to field `healthy` (id: 1)
  +0x12 | 00 00                   | VOffset16   | 0x0000 (0)                | offset to field `level` (id: 2) <defaults to 99> (Long)
  +0x14 | 08 00                   | VOffset16   | 0x0008 (8)                | offset to field `meal` (id: 3)
  +0x16 | 10 00                   | VOffset16   | 0x0010 (16)               | ERROR: offset to field `bar` (id: 4). Invalid offset, points outside the binary.
  +0x18 | 14 00                   | VOffset16   | 0x0014 (20)               | ERROR: offset to field `home` (id: 5). Invalid offset, points outside the binary.
  +0x1A | 30 00                   | VOffset16   | 0x0030 (48)               | ERROR: offset to field `name` (id: 6). Invalid offset, points outside the binary.
  +0x1C | 34 00                   | VOffset16   | 0x0034 (52)               | ERROR: offset to field `bars` (id: 7). Invalid offset, points outside the binary.
  +0x1E | 09 00                   | VOffset16   | 0x0009 (9)                | offset to field `bar_baz_type` (id: 8)
  +0x20 | 38 00                   | VOffset16   | 0x0038 (56)               | ERROR: offset to field `bar_baz` (id: 9). Invalid offset, points outside the binary.
  +0x22 | 3C 00                   | VOffset16   | 0x003C (60)               | ERROR: offset to field `accounts` (id: 10). Invalid offset, points outside the binary.
  +0x24 | 40 00                   | VOffset16   | 0x0040 (64)               | ERROR: offset to field `bob` (id: 11). Invalid offset, points outside the binary.
  +0x26 | 44 00                   | VOffset16   | 0x0044 (68)               | ERROR: offset to field `alice` (id: 12). Invalid offset, points outside the binary.
  +0x28 | 00 00                   | VOffset16   | 0x0000 (0)                | offset to field `maybe_i32` (id: 13) <defaults to 0> (Int)
  +0x2A | 00 00                   | VOffset16   | 0x0000 (0)                | offset to field `default_i32` (id: 14) <defaults to 42> (Int)
  +0x2C | 48 00                   | VOffset16   | 0x0048 (72)               | ERROR: offset to field `just_i32` (id: 15). Invalid offset, points outside the binary.
  +0x2E | 4C 00                   | VOffset16   | 0x004C (76)               | ERROR: offset to field `names` (id: 16). Invalid offset, points outside the binary.
  +0x30 | 50 00                   | VOffset16   | 0x0050 (80)               | ERROR: offset to field `points_of_interest` (id: 17). Invalid offset, points outside the binary.
  +0x32 | 54 00                   | VOffset16   | 0x0054 (84)               | ERROR: offset to field `foobars_type` (id: 18). Invalid offset, points outside the binary.
  +0x34 | 58 00                   | VOffset16   | 0x0058 (88)               | ERROR: offset to field `foobars` (id: 19). Invalid offset, points outside the binary.
  +0x36 | 0A 00                   | VOffset16   | 0x000A (10)               | offset to field `measurement_type` (id: 20)
  +0x38 | 5C 00                   | VOffset16   | 0x005C (92)               | ERROR: offset to field `measurement` (id: 21). Invalid offset, points outside the binary.
  +0x3A | 0B 00                   | VOffset16   | 0x000B (11)               | offset to field `anything_type` (id: 22)
  +0x3C | 60 00                   | VOffset16   | 0x0060 (96)               | ERROR: offset to field `anything` (id: 23). Invalid offset, points outside the binary.
  +0x3E | 00 00                   | VOffset16   | 0x0000 (0)                | offset to field `temperature` (id: 24) <defaults to 98.600000> (Float)
  +0x40 | 00 00                   | VOffset16   | 0x0000 (0)                | offset to field `teetotaler` (id: 25) <null> (Obj)
  +0x42 | 64 00                   | VOffset16   | 0x0064 (100)              | ERROR: offset to field `charlie` (id: 26). Invalid offset, points outside the binary.
  +0x24 | 40 00                   | VOffset16   | 0x0040 (64)               | offset to unknown field (id: 11)
  +0x26 | 44 00                   | VOffset16   | 0x0044 (68)               | offset to unknown field (id: 12)
  +0x28 | 00 00                   | VOffset16   | 0x0000 (0)                | offset to unknown field (id: 13)
  +0x2A | 00 00                   | VOffset16   | 0x0000 (0)                | offset to unknown field (id: 14)
  +0x2C | 48 00                   | VOffset16   | 0x0048 (72)               | offset to unknown field (id: 15)
  +0x2E | 4C 00                   | VOffset16   | 0x004C (76)               | offset to unknown field (id: 16)
  +0x30 | 50 00                   | VOffset16   | 0x0050 (80)               | offset to unknown field (id: 17)
  +0x32 | 54 00                   | VOffset16   | 0x0054 (84)               | offset to unknown field (id: 18)
  +0x34 | 58 00                   | VOffset16   | 0x0058 (88)               | offset to unknown field (id: 19)
  +0x36 | 0A 00                   | VOffset16   | 0x000A (10)               | offset to unknown field (id: 20)
  +0x38 | 5C 00                   | VOffset16   | 0x005C (92)               | offset to unknown field (id: 21)
  +0x3A | 0B 00                   | VOffset16   | 0x000B (11)               | offset to unknown field (id: 22)
  +0x3C | 60 00                   | VOffset16   | 0x0060 (96)               | offset to unknown field (id: 23)
  +0x3E | 00 00                   | VOffset16   | 0x0000 (0)                | offset to unknown field (id: 24)
  +0x40 | 00 00                   | VOffset16   | 0x0000 (0)                | offset to unknown field (id: 25)
  +0x42 | 64 00                   | VOffset16   | 0x0064 (100)              | offset to unknown field (id: 26)

root_table (AnnotatedBinary.Foo):
  +0x44 | 3A 00 00 00             | SOffset32   | 0x0000003A (58) Loc: 0x0A | offset to vtable
  +0x48 | 00 00 00                | uint8_t[3]  | ...                       | padding
  +0x4B | 01                      | uint8_t     | 0x01 (1)                  | table field `healthy` (Bool)
  +0x4C | 02                      | uint8_t     | 0x02 (2)                  | table field `meal` (Byte)
  +0x4D | 02                      | UType8      | 0x02 (2)                  | table field `bar_baz_type` (UType)
  +0x4E | 01                      | UType8      | 0x01 (1)                  | table field `measurement_type` (UType)
  +0x4F | 01                      | UType8      | 0x01 (1)                  | table field `anything_type` (UType)
  +0x50 | D2 04                   | ?uint8_t[2] | ..                        | ERROR: table field `counter` (Int). Incomplete binary, expected to read 4 bytes.
