diff --git a/SabreTools.Hashing/HashTool.cs b/SabreTools.Hashing/HashTool.cs index 1b1cd18..68f87bf 100644 --- a/SabreTools.Hashing/HashTool.cs +++ b/SabreTools.Hashing/HashTool.cs @@ -321,6 +321,7 @@ namespace SabreTools.Hashing /// Get hashes from an input byte array /// /// Byte array to hash + /// Amount of bytes read during hashing /// Dictionary containing hashes on success, null on error public static Dictionary? GetByteArrayHashesAndSize(byte[] input, out long size) { @@ -335,6 +336,7 @@ namespace SabreTools.Hashing /// Get hashes from an input byte array /// /// Byte array to hash + /// Amount of bytes read during hashing /// Dictionary containing hashes on success, null on error public static Dictionary? GetByteArrayHashArraysAndSize(byte[] input, out long size) { @@ -350,6 +352,7 @@ namespace SabreTools.Hashing /// /// Byte array to hash /// Hash type to get from the file + /// Amount of bytes read during hashing /// Hash on success, null on error public static string? GetByteArrayHashAndSize(byte[] input, HashType hashType, out long size) { @@ -362,6 +365,7 @@ namespace SabreTools.Hashing /// /// Byte array to hash /// Hash type to get from the file + /// Amount of bytes read during hashing /// Hash on success, null on error public static byte[]? GetByteArrayHashArrayAndSize(byte[] input, HashType hashType, out long size) { @@ -374,6 +378,7 @@ namespace SabreTools.Hashing /// /// Byte array to hash /// Array of hash types to get from the file + /// Amount of bytes read during hashing /// Dictionary containing hashes on success, null on error public static Dictionary? GetByteArrayHashesAndSize(byte[] input, HashType[] hashTypes, out long size) => GetStreamHashesAndSize(new MemoryStream(input), hashTypes, out size); @@ -383,6 +388,7 @@ namespace SabreTools.Hashing /// /// Byte array to hash /// Array of hash types to get from the file + /// Amount of bytes read during hashing /// Dictionary containing hashes on success, null on error public static Dictionary? GetByteArrayHashArraysAndSize(byte[] input, HashType[] hashTypes, out long size) => GetStreamHashArraysAndSize(new MemoryStream(input), hashTypes, out size);