Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Dec 11, 2023
1 parent 96f0b44 commit 3b2938b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ The hashing algorithms conform to the following concept:
```
struct HashAlgorithm
{
typedef /*integral or array<byte_type, N>*/ result_type; // result type
typedef /*integral or array<unsigned char, N>*/ result_type; // result type
typedef /*unsigned integral*/ size_type; // how is container.size() hashed
HashAlgorithm(); // default-constructible
explicit HashAlgorithm( uint64_t seed ); // seed-constructible
HashAlgorithm( byte_type const* seed, ptrdiff_t n ); // seed-constructible
HashAlgorithm( unsigned char const* seed, size_t n ); // seed-constructible
HashAlgorithm( HashAlgorithm const& r ); // copy-constructible
HashAlgorithm& operator=( HashAlgorithm const& r ); // assignable
void update( byte_type const* data, ptrdiff_t n ); // feed bytes
void update( void const* data, size_t n ); // feed bytes
result_type result(); // obtain result; also advances state,
// and can be called multiple times
Expand Down

0 comments on commit 3b2938b

Please sign in to comment.