예제 #1
0
 public static Offset <FArray> CreateFArray(FlatBufferBuilder builder,
                                            VectorOffset arrayOffset  = default(VectorOffset),
                                            VectorOffset rangesOffset = default(VectorOffset))
 {
     builder.StartObject(2);
     FArray.AddRanges(builder, rangesOffset);
     FArray.AddArray(builder, arrayOffset);
     return(FArray.EndFArray(builder));
 }
예제 #2
0
 public static FArray GetRootAsFArray(ByteBuffer _bb, FArray obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }