Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Dispose() [4/4]

override void Internal.Cryptography.UniversalCryptoDecryptor.Dispose ( bool disposing)
inlinesealedprotectedvirtual

Reimplemented from Internal.Cryptography.UniversalCryptoTransform.

Definition at line 133 of file UniversalCryptoDecryptor.cs.

134 {
135 if (disposing)
136 {
137 byte[] heldoverCipher = _heldoverCipher;
138 _heldoverCipher = null;
139 if (heldoverCipher != null)
140 {
141 Array.Clear(heldoverCipher);
142 }
143 }
144 base.Dispose(disposing);
145 }
static unsafe void Clear(Array array)
Definition Array.cs:755

References Internal.Cryptography.UniversalCryptoDecryptor._heldoverCipher, and System.Array.Clear().