| Parameter | Description |
|---|---|
| ptr | A buffer. |
| bytes | The number of bytes to hash. |
uint A hash of the bytes.
Returns a (non-cryptographic) hash of a memory block.
The hash function used is <a href="http://web.archive.org/web/20190508211657/http://www.cse.yorku.ca/~oz/hash.html">djb2</a>.