Пример #1
0
 public static Offset <RoadData> CreateRoadData(FlatBufferBuilder builder,
                                                StringOffset IdOffset                = default(StringOffset),
                                                VectorOffset PositionsOffset         = default(VectorOffset),
                                                Offset <StringDictionary> InfoOffset = default(Offset <StringDictionary>))
 {
     builder.StartObject(3);
     RoadData.AddInfo(builder, InfoOffset);
     RoadData.AddPositions(builder, PositionsOffset);
     RoadData.AddId(builder, IdOffset);
     return(RoadData.EndRoadData(builder));
 }
Пример #2
0
 public static RoadData GetRootAsRoadData(ByteBuffer _bb, RoadData obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }