Пример #1
0
 public static Offset <FlatSharpTests.Oracle.SortedVectorTest> CreateSortedVectorTest(FlatBufferBuilder builder,
                                                                                      VectorOffset Int32Offset  = default(VectorOffset),
                                                                                      VectorOffset StringOffset = default(VectorOffset),
                                                                                      VectorOffset DoubleOffset = default(VectorOffset))
 {
     builder.StartTable(3);
     SortedVectorTest.AddDouble(builder, DoubleOffset);
     SortedVectorTest.AddString(builder, StringOffset);
     SortedVectorTest.AddInt32(builder, Int32Offset);
     return(SortedVectorTest.EndSortedVectorTest(builder));
 }
Пример #2
0
 public static SortedVectorTest GetRootAsSortedVectorTest(ByteBuffer _bb, SortedVectorTest obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }