xxHash3.StreamingState
Type used to compute hash based on multiple data feed
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public struct xxHash3.StreamingState
Remarks
Allow to feed the internal hashing accumulators with data through multiple calls to xxHash3.StreamingState.Update, then retrieving the final hash value using xxHash3.StreamingState.DigestHash64 or xxHash3.StreamingState.DigestHash128. More info about how to use this class in its constructor.
Constructors
Constructor | Description |
|---|---|
| StreamingState(System.Boolean,System.UInt64) | Create a StreamingState object, ready to be used with the streaming API |
Methods
Method | Description |
|---|---|
| DigestHash128 | Compute the 128bits value based on all the data that have been accumulated |
| DigestHash64 | Compute the 64bits value based on all the data that have been accumulated |
| Reset | Reset the state of the streaming instance using the given seed value. |
| Update | Add some data to be hashed |