StreamingState(bool, ulong)
Create a StreamingState object, ready to be used with the streaming API
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public StreamingState(bool isHash64, ulong seed = 0)
Parameters
Remarks
Once the object is constructed, you can call the xxHash3.StreamingState.Update method as many times as you want to accumulate data to hash. When all the data has been sent, call xxHash3.StreamingState.DigestHash64 or xxHash3.StreamingState.DigestHash128 to retrieve the corresponding key, the xxHash3.StreamingState instance will then be reset, using the same hash key size and same Seed in order to be ready to be used again.