Пример #1
0
 public static Offset <FlatSharpTests.Oracle.UnionVectorTable> CreateUnionVectorTable(FlatBufferBuilder builder,
                                                                                      VectorOffset Value_typeOffset = default(VectorOffset),
                                                                                      VectorOffset ValueOffset      = default(VectorOffset))
 {
     builder.StartTable(2);
     UnionVectorTable.AddValue(builder, ValueOffset);
     UnionVectorTable.AddValueType(builder, Value_typeOffset);
     return(UnionVectorTable.EndUnionVectorTable(builder));
 }
Пример #2
0
 public static UnionVectorTable GetRootAsUnionVectorTable(ByteBuffer _bb, UnionVectorTable obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }