Exemplo n.º 1
0
 public static Offset <Person> CreatePerson(FlatBufferBuilder builder,
                                            StringOffset nameOffset = default(StringOffset),
                                            int id = 0,
                                            StringOffset emailOffset  = default(StringOffset),
                                            VectorOffset phonesOffset = default(VectorOffset))
 {
     builder.StartObject(4);
     Person.AddPhones(builder, phonesOffset);
     Person.AddEmail(builder, emailOffset);
     Person.AddId(builder, id);
     Person.AddName(builder, nameOffset);
     return(Person.EndPerson(builder));
 }