# ReadPackedFixedString512Delta(FixedString512Bytes, in StreamCompressionModel)

> Reads a FixedString512Bytes delta value to the data stream using a StreamCompressionModel.

## Definition

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

## ReadPackedFixedString512Delta(FixedString512Bytes, StreamCompressionModel)

```csharp
public FixedString512Bytes ReadPackedFixedString512Delta(FixedString512Bytes baseline, in StreamCompressionModel model)
```

### Parameters

**** (\[FixedString512Bytes]\(/engine/6000.7/script-reference/unity/collections/fixedstring512bytes)): The previous `FixedString512Bytes` value, used to compute the diff.**** (\[StreamCompressionModel]\(/engine/6000.7/script-reference/unity/collections/streamcompressionmodel)): [StreamCompressionModel](/engine/6000.7/script-reference/unity/collections/streamcompressionmodel.md) model for writing value in a packed manner.

### Returns

| Type                                                                                            | Description                                                                                                 |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [FixedString512Bytes](/engine/6000.7/script-reference/unity/collections/fixedstring512bytes.md) | A `FixedString512Bytes` value read from the current stream, or 0 if the end of the stream has been reached. |
