Update
Add some data to be hashed
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Update(void*, int)
Add some data to be hashed
public void Update(void* input, int length)
Parameters
Remarks
This API allows you to feed very small data to be hashed, avoiding you to accumulate them in a big buffer, then computing the hash value from.
Update<T>(T)
Add the contents of input struct to the hash.
public void Update<T>(in T input) where T : unmanaged
Parameters
Remarks
This API allows you to feed very small data to be hashed, avoiding you to accumulate them in a big buffer, then computing the hash value from.