ReadPackedFixedStringDelta(NativeArray<byte>, NativeArray<byte>, in StreamCompressionModel)
Read and copy data into the given NativeArray of bytes, an error will be logged if not enough bytes are available in the array.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
ReadPackedFixedStringDelta(NativeArray<byte>, NativeArray<byte>, StreamCompressionModel)
public ushort ReadPackedFixedStringDelta(NativeArray<byte> data, NativeArray<byte> baseData, in StreamCompressionModel model)
Parameters
Array for the current fixed string.
Array containing the previous value, used to compute the diff.
StreamCompressionModel model for writing value in a packed manner.
Returns
Type | Description |
|---|---|
| ushort | Length of data read into byte array, or zero if error occurred. |