예제 #1
0
 public static Offset <FixedSizeList> CreateFixedSizeList(FlatBufferBuilder builder,
                                                          int listSize = 0)
 {
     builder.StartObject(1);
     FixedSizeList.AddListSize(builder, listSize);
     return(FixedSizeList.EndFixedSizeList(builder));
 }
예제 #2
0
 public static FixedSizeList GetRootAsFixedSizeList(ByteBuffer _bb, FixedSizeList obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }