Interface IBinaryDeserializationContext
The IBinary
Namespace: Unity.Serialization.Binary
Assembly: Unity.Serialization.dll
Syntax
public interface IBinaryDeserializationContext
Properties
Reader
Gets the serialized view for value being deserialized.
Declaration
UnsafeAppendBuffer.Reader* Reader { get; }
Property Value
Type | Description |
---|---|
Reader* |
Methods
ContinueVisitation()
Continues de-serialization for the current value. This will run the next adapter in the sequence, or the default behaviour.
Declaration
object ContinueVisitation()
Returns
Type | Description |
---|---|
object | The deserialized value. |
ContinueVisitationWithoutAdapters()
Continues de-serialization for the current type without running any more adapters. This will perform the default behaviour.
Declaration
object ContinueVisitationWithoutAdapters()
Returns
Type | Description |
---|---|
object | The deserialized value. |
DeserializeValue<T>()
Reads the next value in the stream as T
and returns it. This will run all adapters.
Declaration
T DeserializeValue<T>()
Returns
Type | Description |
---|---|
T | The instance of type T deserialized. |
Type Parameters
Name | Description |
---|---|
T | The type of the value being deserialized. |