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

◆ ComputeHash() [2/3]

byte[] System.Security.Cryptography.HashAlgorithm.ComputeHash ( byte[] buffer,
int offset,
int count )
inlineinherited

Definition at line 92 of file HashAlgorithm.cs.

93 {
94 if (buffer == null)
95 {
96 throw new ArgumentNullException("buffer");
97 }
98 if (offset < 0)
99 {
100 throw new ArgumentOutOfRangeException("offset", System.SR.ArgumentOutOfRange_NeedNonNegNum);
101 }
102 if (count < 0 || count > buffer.Length)
103 {
105 }
106 if (buffer.Length - count < offset)
107 {
109 }
110 if (_disposed)
111 {
112 throw new ObjectDisposedException(null);
113 }
116 }
static string Argument_InvalidValue
Definition SR.cs:24
static string Argument_InvalidOffLen
Definition SR.cs:22
static string ArgumentOutOfRange_NeedNonNegNum
Definition SR.cs:32
Definition SR.cs:7
void HashCore(byte[] array, int ibStart, int cbSize)

References System.Security.Cryptography.HashAlgorithm._disposed, System.SR.Argument_InvalidOffLen, System.SR.Argument_InvalidValue, System.SR.ArgumentOutOfRange_NeedNonNegNum, System.buffer, System.Security.Cryptography.HashAlgorithm.CaptureHashCodeAndReinitialize(), System.count, System.Security.Cryptography.HashAlgorithm.HashCore(), and System.offset.

ml">doxygen 1.10.0