Arrays
Fixed-size repeated types can be represented as arrays
Array is just an abstraction type, there is no additional cost
It is simply a repetition of the field
Example#
{ "$version": 1, "$types": { "Int8_Array": { "name": "array(i8, 10)" } }}array(i8, 10) => i8, i8, i8, i8, i8, i8, i8, i8, i8, i8
{ "$version": 1, "$types": { "Int8_Array": { "name[0]": "i8", "name[1]": "i8", "name[2]": "i8", "name[3]": "i8", "name[4]": "i8", "name[5]": "i8", "name[6]": "i8", "name[7]": "i8", "name[8]": "i8", "name[9]": "i8" } }}