1 write to HashLengthInBytes
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
40
HashLengthInBytes
= hashLengthInBytes;
23 references to HashLengthInBytes
System.IO.Hashing (23)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (23)
66
/// <see cref="
HashLengthInBytes
"/> bytes to <paramref name="destination"/>.
72
/// down to be exactly <see cref="
HashLengthInBytes
"/> in length.
144
byte[] ret = new byte[
HashLengthInBytes
];
163
if (destination.Length <
HashLengthInBytes
)
169
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
170
bytesWritten =
HashLengthInBytes
;
181
/// which is always <see cref="
HashLengthInBytes
"/>.
184
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
188
if (destination.Length <
HashLengthInBytes
)
193
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
194
return
HashLengthInBytes
;
205
byte[] ret = new byte[
HashLengthInBytes
];
225
if (destination.Length <
HashLengthInBytes
)
231
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
232
bytesWritten =
HashLengthInBytes
;
243
/// which is always <see cref="
HashLengthInBytes
"/>.
246
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
250
if (destination.Length <
HashLengthInBytes
)
255
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
256
return
HashLengthInBytes
;
267
/// <see cref="
HashLengthInBytes
"/> bytes to <paramref name="destination"/>.
273
/// down to be exactly <see cref="
HashLengthInBytes
"/> in length.
284
Debug.Assert(destination.Length ==
HashLengthInBytes
);