public void Serialise(Stream stream) { stream.WriteByte((byte)_RecordType); stream.WriteByte((byte)(255 - _Version.Major)); stream.WriteByte((byte)(255 - _Version.Minor)); NetworkByteOrderConverter.WriteUInt16(stream, _Epoch); NetworkByteOrderConverter.WriteInt48(stream, _SequenceNumber); NetworkByteOrderConverter.WriteUInt16(stream, _Length); if (_Length > 0) { stream.Write(_Fragment, 0, _Length); } }