...

Text file src/github.com/google/flatbuffers/tests/arrays_test.fbs

Documentation: github.com/google/flatbuffers/tests

     1namespace MyGame.Example;
     2
     3enum TestEnum : byte { A, B, C }
     4
     5struct NestedStruct{
     6  a:[int:2];
     7  b:TestEnum;
     8  c:[TestEnum:2];
     9  d:[int64:2];
    10}
    11
    12struct ArrayStruct{
    13  a:float;
    14  b:[int:0xF];
    15  c:byte;
    16  d:[NestedStruct:2];
    17  e:int32;
    18  f:[int64:2];
    19}
    20
    21table ArrayTable{
    22  a:ArrayStruct;
    23}
    24
    25root_type ArrayTable;
    26file_identifier "ARRT";
    27file_extension "mon";

View as plain text