internal void WriteToRecordStream(TlsProtocol protocol) { long num = Length - 4; TlsUtilities.CheckUint24(num); Position = 1L; TlsUtilities.WriteUint24((int)num, this); byte[] buffer = GetBuffer(); int len = (int)Length; protocol.WriteHandshakeMessage(buffer, 0, len); Platform.Dispose(this); }