示例#1
0
 public static Offset <FlatSharpTests.Oracle.Vectors> CreateVectors(FlatBufferBuilder builder,
                                                                    VectorOffset IntVectorOffset   = default(VectorOffset),
                                                                    VectorOffset LongVectorOffset  = default(VectorOffset),
                                                                    VectorOffset ByteVector1Offset = default(VectorOffset),
                                                                    VectorOffset ByteVector2Offset = default(VectorOffset))
 {
     builder.StartTable(4);
     Vectors.AddByteVector2(builder, ByteVector2Offset);
     Vectors.AddByteVector1(builder, ByteVector1Offset);
     Vectors.AddLongVector(builder, LongVectorOffset);
     Vectors.AddIntVector(builder, IntVectorOffset);
     return(Vectors.EndVectors(builder));
 }
示例#2
0
 public static Offset <Vectors> CreateVectors(FlatBufferBuilder builder,
                                              VectorOffset IntVectorOffset   = default(VectorOffset),
                                              VectorOffset LongVectorOffset  = default(VectorOffset),
                                              VectorOffset ByteVector1Offset = default(VectorOffset),
                                              VectorOffset ByteVector2Offset = default(VectorOffset))
 {
     builder.StartObject(4);
     Vectors.AddByteVector2(builder, ByteVector2Offset);
     Vectors.AddByteVector1(builder, ByteVector1Offset);
     Vectors.AddLongVector(builder, LongVectorOffset);
     Vectors.AddIntVector(builder, IntVectorOffset);
     return(Vectors.EndVectors(builder));
 }