예제 #1
0
 public static Offset <Benchmark.FBBench.Google.SortedVectorContainer> CreateSortedVectorContainer(FlatBufferBuilder builder,
                                                                                                   VectorOffset StringVectorOffset = default(VectorOffset),
                                                                                                   VectorOffset IntVectorOffset    = default(VectorOffset))
 {
     builder.StartTable(2);
     SortedVectorContainer.AddIntVector(builder, IntVectorOffset);
     SortedVectorContainer.AddStringVector(builder, StringVectorOffset);
     return(SortedVectorContainer.EndSortedVectorContainer(builder));
 }
예제 #2
0
 public static SortedVectorContainer GetRootAsSortedVectorContainer(ByteBuffer _bb, SortedVectorContainer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }