Redigera

Dela via


GrainStorageSerializerExtensions.Deserialize<T> Method

Definition

Deserializes the provided data.

public static T Deserialize<T> (this Orleans.Storage.IGrainStorageSerializer serializer, ReadOnlyMemory<byte> input);
static member Deserialize : Orleans.Storage.IGrainStorageSerializer * ReadOnlyMemory<byte> -> 'T
<Extension()>
Public Function Deserialize(Of T) (serializer As IGrainStorageSerializer, input As ReadOnlyMemory(Of Byte)) As T

Type Parameters

T

The output type.

Parameters

serializer
IGrainStorageSerializer

The grain state serializer.

input
ReadOnlyMemory<Byte>

The data to deserialize.

Returns

T

The deserialized object.

Applies to