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

◆ TryFinalizeHashAndReset() [2/2]

bool Internal.Cryptography.HashProvider.TryFinalizeHashAndReset ( Span< byte > destination,
out int bytesWritten )
inlineinherited

Definition at line 41 of file HashProvider.cs.

42 {
43 if (destination.Length < HashSizeInBytes)
44 {
45 bytesWritten = 0;
46 return false;
47 }
48 bytesWritten = FinalizeHashAndReset(destination);
49 return true;
50 }

References System.destination, Internal.Cryptography.HashProvider.FinalizeHashAndReset(), and Internal.Cryptography.HashProvider.HashSizeInBytes.