コード例 #1
0
 public static Offset <TrackConfig> CreateTrackConfig(FlatBufferBuilder builder,
                                                      StringOffset nameOffset = default(StringOffset),
                                                      byte numSectors         = 0)
 {
     builder.StartObject(2);
     TrackConfig.AddName(builder, nameOffset);
     TrackConfig.AddNumSectors(builder, numSectors);
     return(TrackConfig.EndTrackConfig(builder));
 }
コード例 #2
0
 public static TrackConfig GetRootAsTrackConfig(ByteBuffer _bb, TrackConfig obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }