public static Offset <TestTableWithUnion> CreateTestTableWithUnion(FlatBufferBuilder builder,
                                                                    int IntProp = 0,
                                                                    TestUnion UnionProp_type = TestUnion.NONE,
                                                                    int UnionPropOffset      = 0)
 {
     builder.StartObject(3);
     TestTableWithUnion.AddUnionProp(builder, UnionPropOffset);
     TestTableWithUnion.AddIntProp(builder, IntProp);
     TestTableWithUnion.AddUnionPropType(builder, UnionProp_type);
     return(TestTableWithUnion.EndTestTableWithUnion(builder));
 }
 public static TestTableWithUnion GetRootAsTestTableWithUnion(ByteBuffer _bb, TestTableWithUnion obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }