예제 #1
0
 public static Offset <FlatSharpTests.Oracle.VectorOfUnionTable> CreateVectorOfUnionTable(FlatBufferBuilder builder,
                                                                                          VectorOffset Value_typeOffset = default(VectorOffset),
                                                                                          VectorOffset ValueOffset      = default(VectorOffset))
 {
     builder.StartTable(2);
     VectorOfUnionTable.AddValue(builder, ValueOffset);
     VectorOfUnionTable.AddValueType(builder, Value_typeOffset);
     return(VectorOfUnionTable.EndVectorOfUnionTable(builder));
 }
예제 #2
0
 public static VectorOfUnionTable GetRootAsVectorOfUnionTable(ByteBuffer _bb, VectorOfUnionTable obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }