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.
141
byte[] ret = new byte[
HashLengthInBytes
];
160
if (destination.Length <
HashLengthInBytes
)
166
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
167
bytesWritten =
HashLengthInBytes
;
178
/// which is always <see cref="
HashLengthInBytes
"/>.
181
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
185
if (destination.Length <
HashLengthInBytes
)
190
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
191
return
HashLengthInBytes
;
202
byte[] ret = new byte[
HashLengthInBytes
];
222
if (destination.Length <
HashLengthInBytes
)
228
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
229
bytesWritten =
HashLengthInBytes
;
240
/// which is always <see cref="
HashLengthInBytes
"/>.
243
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
247
if (destination.Length <
HashLengthInBytes
)
252
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
253
return
HashLengthInBytes
;
264
/// <see cref="
HashLengthInBytes
"/> bytes to <paramref name="destination"/>.
270
/// down to be exactly <see cref="
HashLengthInBytes
"/> in length.
281
Debug.Assert(destination.Length ==
HashLengthInBytes
);