...

Text file src/github.com/google/flatbuffers/tests/ts/arrays_test_complex/arrays_test_complex.fbs

Documentation: github.com/google/flatbuffers/tests/ts/arrays_test_complex

     1namespace MyGame.Example;
     2
     3enum TestEnum : byte { A, B, C }
     4
     5struct InnerStruct {
     6  a:float64;
     7  b:[ubyte:13];
     8  c:int8;
     9  d_underscore:int64;
    10}
    11
    12struct OuterStruct {
    13  a:bool;
    14  b:double;
    15  c_underscore:InnerStruct;
    16  d:[InnerStruct:3];
    17  e:InnerStruct;
    18  f:[float64:4];
    19}
    20
    21struct NestedStruct{
    22  a:[int:2];
    23  b:TestEnum;
    24  c_underscore:[TestEnum:2];
    25  d_outer:[OuterStruct:5];
    26  e:[int64:2];
    27}
    28
    29struct ArrayStruct{
    30  a_underscore:float;
    31  b_underscore:[int:0xF];
    32  c:byte;
    33  d:[NestedStruct:2];
    34  e:int32;
    35  f:[OuterStruct:2];
    36  g:[int64:2];
    37}
    38
    39table ArrayTable{
    40  a:string;
    41  c_underscore:ArrayStruct;
    42}
    43
    44root_type ArrayTable;
    45file_identifier "RHUB";
    46file_extension "mon";

View as plain text