/// <summary> /// Serializes content to the writer /// </summary> public void ToBinary(IBinaryRawWriter writer) { writer.WriteDouble(Station); writer.WriteInt(Offsets.Count); foreach (var offset in Offsets) { offset.ToBinary(writer); } Minimum.ToBinary(writer); Maximum.ToBinary(writer); Average.ToBinary(writer); }