public static Offset <FooBarContainer> CreateFooBarContainer(FlatBufferBuilder builder, VectorOffset listOffset = default(VectorOffset), bool initialized = false, short fruit = 0, StringOffset locationOffset = default(StringOffset)) { builder.StartObject(4); FooBarContainer.AddLocation(builder, locationOffset); FooBarContainer.AddList(builder, listOffset); FooBarContainer.AddFruit(builder, fruit); FooBarContainer.AddInitialized(builder, initialized); return(FooBarContainer.EndFooBarContainer(builder)); }