Ejemplo n.º 1
0
 public static Offset <FlatTiming> CreateFlatTiming(FlatBufferBuilder builder,
                                                    int id = 0,
                                                    StringOffset nameOffset        = default(StringOffset),
                                                    Offset <LongPair> timingOffset = default(Offset <LongPair>))
 {
     builder.StartObject(3);
     FlatTiming.AddTiming(builder, timingOffset);
     FlatTiming.AddName(builder, nameOffset);
     FlatTiming.AddId(builder, id);
     return(FlatTiming.EndFlatTiming(builder));
 }
Ejemplo n.º 2
0
 public static FlatTiming GetRootAsFlatTiming(ByteBuffer _bb, FlatTiming obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }