Inherit documentation.

This commit is contained in:
2020-07-20 05:20:18 +01:00
parent 0e61e1c76a
commit a0781c3792
12 changed files with 72 additions and 40 deletions

View File

@@ -49,6 +49,7 @@ namespace Aaru.Checksums
sum2 = 0;
}
/// <inheritdoc />
/// <summary>Updates the hash with data.</summary>
/// <param name="data">Data buffer.</param>
/// <param name="len">Length of buffer to hash.</param>
@@ -61,10 +62,12 @@ namespace Aaru.Checksums
}
}
/// <inheritdoc />
/// <summary>Updates the hash with data.</summary>
/// <param name="data">Data buffer.</param>
public void Update(byte[] data) => Update(data, (uint)data.Length);
/// <inheritdoc />
/// <summary>Returns a byte array of the hash value.</summary>
public byte[] Final()
{
@@ -73,6 +76,7 @@ namespace Aaru.Checksums
return BigEndianBitConverter.GetBytes(finalSum);
}
/// <inheritdoc />
/// <summary>Returns a hexadecimal representation of the hash value.</summary>
public string End()
{