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)); }
public static TrackConfig GetRootAsTrackConfig(ByteBuffer _bb, TrackConfig obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }