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.
153
byte[] ret = new byte[
HashLengthInBytes
];
172
if (destination.Length <
HashLengthInBytes
)
178
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
179
bytesWritten =
HashLengthInBytes
;
190
/// which is always <see cref="
HashLengthInBytes
"/>.
193
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
197
if (destination.Length <
HashLengthInBytes
)
202
GetCurrentHashCore(destination.Slice(0,
HashLengthInBytes
));
203
return
HashLengthInBytes
;
214
byte[] ret = new byte[
HashLengthInBytes
];
234
if (destination.Length <
HashLengthInBytes
)
240
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
241
bytesWritten =
HashLengthInBytes
;
252
/// which is always <see cref="
HashLengthInBytes
"/>.
255
/// <paramref name="destination"/> is shorter than <see cref="
HashLengthInBytes
"/>.
259
if (destination.Length <
HashLengthInBytes
)
264
GetHashAndResetCore(destination.Slice(0,
HashLengthInBytes
));
265
return
HashLengthInBytes
;
276
/// <see cref="
HashLengthInBytes
"/> bytes to <paramref name="destination"/>.
282
/// down to be exactly <see cref="
HashLengthInBytes
"/> in length.
293
Debug.Assert(destination.Length ==
HashLengthInBytes
);