@@ -321,6 +321,7 @@ public static bool GetStandardHashes(Stream stream, out long size, out string? c
321
321
/// Get hashes from an input byte array
322
322
/// </summary>
323
323
/// <param name="input">Byte array to hash</param>
324
+ /// <param name="size">Amount of bytes read during hashing</param>
324
325
/// <returns>Dictionary containing hashes on success, null on error</returns>
325
326
public static Dictionary < HashType , string ? > ? GetByteArrayHashesAndSize ( byte [ ] input , out long size )
326
327
{
@@ -335,6 +336,7 @@ public static bool GetStandardHashes(Stream stream, out long size, out string? c
335
336
/// Get hashes from an input byte array
336
337
/// </summary>
337
338
/// <param name="input">Byte array to hash</param>
339
+ /// <param name="size">Amount of bytes read during hashing</param>
338
340
/// <returns>Dictionary containing hashes on success, null on error</returns>
339
341
public static Dictionary < HashType , byte [ ] ? > ? GetByteArrayHashArraysAndSize ( byte [ ] input , out long size )
340
342
{
@@ -350,6 +352,7 @@ public static bool GetStandardHashes(Stream stream, out long size, out string? c
350
352
/// </summary>
351
353
/// <param name="input">Byte array to hash</param>
352
354
/// <param name="hashType">Hash type to get from the file</param>
355
+ /// <param name="size">Amount of bytes read during hashing</param>
353
356
/// <returns>Hash on success, null on error</returns>
354
357
public static string ? GetByteArrayHashAndSize ( byte [ ] input , HashType hashType , out long size )
355
358
{
@@ -362,6 +365,7 @@ public static bool GetStandardHashes(Stream stream, out long size, out string? c
362
365
/// </summary>
363
366
/// <param name="input">Byte array to hash</param>
364
367
/// <param name="hashType">Hash type to get from the file</param>
368
+ /// <param name="size">Amount of bytes read during hashing</param>
365
369
/// <returns>Hash on success, null on error</returns>
366
370
public static byte [ ] ? GetByteArrayHashArrayAndSize ( byte [ ] input , HashType hashType , out long size )
367
371
{
@@ -374,6 +378,7 @@ public static bool GetStandardHashes(Stream stream, out long size, out string? c
374
378
/// </summary>
375
379
/// <param name="input">Byte array to hash</param>
376
380
/// <param name="hashTypes">Array of hash types to get from the file</param>
381
+ /// <param name="size">Amount of bytes read during hashing</param>
377
382
/// <returns>Dictionary containing hashes on success, null on error</returns>
378
383
public static Dictionary < HashType , string ? > ? GetByteArrayHashesAndSize ( byte [ ] input , HashType [ ] hashTypes , out long size )
379
384
=> GetStreamHashesAndSize ( new MemoryStream ( input ) , hashTypes , out size ) ;
@@ -383,6 +388,7 @@ public static bool GetStandardHashes(Stream stream, out long size, out string? c
383
388
/// </summary>
384
389
/// <param name="input">Byte array to hash</param>
385
390
/// <param name="hashTypes">Array of hash types to get from the file</param>
391
+ /// <param name="size">Amount of bytes read during hashing</param>
386
392
/// <returns>Dictionary containing hashes on success, null on error</returns>
387
393
public static Dictionary < HashType , byte [ ] ? > ? GetByteArrayHashArraysAndSize ( byte [ ] input , HashType [ ] hashTypes , out long size )
388
394
=> GetStreamHashArraysAndSize ( new MemoryStream ( input ) , hashTypes , out size ) ;
0 commit comments