# xxHash3.StreamingState

> Type used to compute hash based on multiple data feed

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public struct xxHash3.StreamingState
```

## Remarks

Allow to feed the internal hashing accumulators with data through multiple calls to [xxHash3.StreamingState.Update](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/update.md), then retrieving the final hash value using [xxHash3.StreamingState.DigestHash64](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/digesthash64.md) or [xxHash3.StreamingState.DigestHash128](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/digesthash128.md). More info about how to use this class in its constructor.

## Constructors

| Constructor                                                                                                                      | Description                                                             |
| -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [StreamingState(System.Boolean,System.UInt64)](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/ctor.md) | Create a StreamingState object, ready to be used with the streaming API |

## Methods

| Method                                                                                                     | Description                                                                |
| ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [DigestHash128](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/digesthash128.md) | Compute the 128bits value based on all the data that have been accumulated |
| [DigestHash64](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/digesthash64.md)   | Compute the 64bits value based on all the data that have been accumulated  |
| [Reset](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/reset.md)                 | Reset the state of the streaming instance using the given seed value.      |
| [Update](/engine/6000.7/script-reference/unity/collections/xxhash3/streamingstate/update.md)               | Add some data to be hashed                                                 |
