private void PrepareMessageToSend(OutputMessage message) { message.WriteMessageLength(); if (IsEncryptionEnabled) { Tools.EncryptXtea(message, XteaKey); message.AddCryptoHeader(IsChecksumEnabled); } }
private void PrepareMessageToSend(OutputMessage message) { message.WriteMessageLength(); if (IsEncryptionEnabled) { Tools.EncryptXtea(message, XteaKey); message.AddCryptoHeader(IsChecksumEnabled); } }