WriterEndEncrypt Method
Encrypts the data already written to the writer. If StartEncrypt has not been called, the data will be encrypted from the start of the writer.
Namespace: Alteruna.Multiplayer.Core.PacketProcessing.WriterAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
public int EndEncrypt(
EncryptionMethod method = EncryptionMethod.Scramble
)
- method EncryptionMethod (Optional)
- Encryption method used.
Int32Number of bytes saved by encryption.
Reference
[!:Reader.Decrypt]