/// <summary> /// Parse from a stream. /// </summary> /// <param name="stream">A stream contains ProgressInformation.</param> public void Parse(FastTransferStream stream) { this.Version = stream.ReadUInt16(); this.Padding1 = stream.ReadUInt16(); this.FAIMessageCount = stream.ReadUInt32(); this.FAIMessageTotalSize = stream.ReadUInt64(); this.NormalMessageCount = stream.ReadUInt32(); this.Padding2 = stream.ReadUInt32(); this.NormalMessageTotalSize = stream.ReadUInt64(); }