From c6f338a35f212572bb12c29ffef3b984318f6a41 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 20 Jul 2020 05:57:36 +0100 Subject: [PATCH] Add missing XML documentation. --- CRC16Context.cs | 6 ++++++ CRC32Context.cs | 2 ++ CRC64Context.cs | 2 ++ 3 files changed, 10 insertions(+) diff --git a/CRC16Context.cs b/CRC16Context.cs index eeb4352..ebc2aa3 100644 --- a/CRC16Context.cs +++ b/CRC16Context.cs @@ -139,6 +139,10 @@ namespace Aaru.Checksums /// Gets the hash of a file in hexadecimal and as a byte array. /// File path. /// Byte array of the hash value. + /// CRC polynomial + /// CRC seed + /// CRC lookup table + /// Is CRC inverted? public static string File(string filename, out byte[] hash, ushort polynomial, ushort seed, ushort[] table, bool inverse) { @@ -179,6 +183,8 @@ namespace Aaru.Checksums /// Byte array of the hash value. /// CRC polynomial /// CRC seed + /// CRC lookup table + /// Is CRC inverted? public static string Data(byte[] data, uint len, out byte[] hash, ushort polynomial, ushort seed, ushort[] table, bool inverse) { diff --git a/CRC32Context.cs b/CRC32Context.cs index b29fe1e..afdb918 100644 --- a/CRC32Context.cs +++ b/CRC32Context.cs @@ -141,6 +141,8 @@ namespace Aaru.Checksums /// Gets the hash of a file in hexadecimal and as a byte array. /// File path. /// Byte array of the hash value. + /// CRC polynomial + /// CRC seed public static string File(string filename, out byte[] hash, uint polynomial, uint seed) { var fileStream = new FileStream(filename, FileMode.Open); diff --git a/CRC64Context.cs b/CRC64Context.cs index e6a93f7..a12e5ca 100644 --- a/CRC64Context.cs +++ b/CRC64Context.cs @@ -141,6 +141,8 @@ namespace Aaru.Checksums /// Gets the hash of a file in hexadecimal and as a byte array. /// File path. /// Byte array of the hash value. + /// CRC polynomial + /// CRC seed public static string File(string filename, out byte[] hash, ulong polynomial, ulong seed) { var fileStream = new FileStream(filename, FileMode.Open);