AddFoo() public static method

public static AddFoo ( FlatBuffers.FlatBufferBuilder builder, int foo ) : void
builder FlatBuffers.FlatBufferBuilder
foo int
return void
Example #1
0
 public static Offset <NamespaceA.NamespaceB.TableInNestedNS> CreateTableInNestedNS(FlatBufferBuilder builder,
                                                                                    int foo = 0)
 {
     builder.StartTable(1);
     TableInNestedNS.AddFoo(builder, foo);
     return(TableInNestedNS.EndTableInNestedNS(builder));
 }
 public static Offset <TableInNestedNS> CreateTableInNestedNS(FlatBufferBuilder builder,
                                                              int foo = 0)
 {
     builder.StartObject(1);
     TableInNestedNS.AddFoo(builder, foo);
     return(TableInNestedNS.EndTableInNestedNS(builder));
 }