Struct xxHash3.StreamingState
Type used to compute hash based on multiple data feed
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public struct xxHash3.StreamingState
Remarks
Allow to feed the internal hashing accumulators with data through multiple calls to Update(void*, int), then retrieving the final hash value using DigestHash64() or DigestHash128(). More info about how to use this class in its constructor.
Constructors
Name | Description |
---|---|
StreamingState(bool, ulong) | Create a StreamingState object, ready to be used with the streaming API |
Methods
Name | 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(bool, ulong) | Reset the state of the streaming instance using the given seed value. |
Update(void*, int) | Add some data to be hashed |
Update<T>(in T) | Add the contents of input struct to the hash. |