internal void AssertEmpty( MemoryStream inStr) { if (inStr.Position < inStr.Length) { throw new TlsFatalAlert(AlertDescription.decode_error); } }