public static LastTimingDataEntry Deserialize(BinaryReader reader) { var entry = new LastTimingDataEntry(); entry.bpmMultiplier = reader.ReadSingle(); entry.displayMinBpm = reader.ReadSingle(); entry.displayMaxBpm = reader.ReadSingle(); return(entry); }
public static TimingData Deserialize(BinaryReader reader) { var data = new TimingData(); data.unknown1 = reader.ReadByte(); // Always 0? var numEntries = reader.ReadInt32(); data.offsetMultiplier = reader.ReadInt64(); data.entries = reader.ReadList(TimingDataEntry.Deserialize, numEntries - 1); data.lastEntry = LastTimingDataEntry.Deserialize(reader); return(data); }