1little_endian_packets 2 3custom_field custom: 1 "custom" 4checksum checksum: 1 "checksum" 5 6enum Enum : 1 { 7 tag = 0, 8} 9 10struct Struct { 11 a: 1, 12} 13 14packet Packet { 15 a: 1, 16} 17 18group Group { 19 a: 1, 20} 21 22packet InvalidKind { 23 array_0: Group[], 24 array_1: Packet[], 25 array_2: checksum[], 26} 27 28packet UndeclaredType { 29 array: Unknown[], 30} 31 32packet Correct { 33 array_0: custom[], 34 array_1: Enum[], 35 array_2: Struct[], 36 array_3: 1[], 37 array_4: 1[42], 38 array_5: 1[+2], 39} 40