New creates a new Digest that computes the 64-bit xxHash algorithm.
()
| 37 | |
| 38 | // New creates a new Digest that computes the 64-bit xxHash algorithm. |
| 39 | func New() *Digest { |
| 40 | var d Digest |
| 41 | d.Reset() |
| 42 | return &d |
| 43 | } |
| 44 | |
| 45 | // Reset clears the Digest's state so that it can be reused. |
| 46 | func (d *Digest) Reset() { |