Edit

Share via


Serializer<T>.Deserialize Method

Definition

Overloads

Deserialize(ReadOnlySpan<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(Stream, SerializerSession)

Deserialize a value of type T from source.

Deserialize(Byte[], SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlySequence<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ArraySegment<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(PooledBuffer+BufferSlice, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlyMemory<Byte>, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlyMemory<Byte>)

Deserialize a value of type T from source.

Deserialize(Stream)

Deserialize a value of type T from source.

Deserialize(Byte[])

Deserialize a value of type T from source.

Deserialize(ReadOnlySequence<Byte>)

Deserialize a value of type T from source.

Deserialize(ArraySegment<Byte>)

Deserialize a value of type T from source.

Deserialize(PooledBuffer+BufferSlice)

Deserialize a value of type T from source.

Deserialize(ReadOnlySpan<Byte>)

Deserialize a value of type T from source.

Deserialize<TInput>(Reader<TInput>)

Deserialize a value of type T from source.

Deserialize(ReadOnlySpan<Byte>, SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (ReadOnlySpan<byte> source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : ReadOnlySpan<byte> * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As ReadOnlySpan(Of Byte), session As SerializerSession) As T

Parameters

source
ReadOnlySpan<Byte>

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(Stream, SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (System.IO.Stream source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : System.IO.Stream * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As Stream, session As SerializerSession) As T

Parameters

source
Stream

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(Byte[], SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (byte[] source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : byte[] * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As Byte(), session As SerializerSession) As T

Parameters

source
Byte[]

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(ReadOnlySequence<Byte>, SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (System.Buffers.ReadOnlySequence<byte> source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : System.Buffers.ReadOnlySequence<byte> * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As ReadOnlySequence(Of Byte), session As SerializerSession) As T

Parameters

source
ReadOnlySequence<Byte>

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(ArraySegment<Byte>, SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (ArraySegment<byte> source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : ArraySegment<byte> * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As ArraySegment(Of Byte), session As SerializerSession) As T

Parameters

source
ArraySegment<Byte>

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(PooledBuffer+BufferSlice, SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (Orleans.Serialization.Buffers.PooledBuffer.BufferSlice source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : Orleans.Serialization.Buffers.PooledBuffer.BufferSlice * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As PooledBuffer.BufferSlice, session As SerializerSession) As T

Parameters

source
PooledBuffer.BufferSlice

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(ReadOnlyMemory<Byte>, SerializerSession)

Deserialize a value of type T from source.

public T Deserialize (ReadOnlyMemory<byte> source, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : ReadOnlyMemory<byte> * Orleans.Serialization.Session.SerializerSession -> 'T
Public Function Deserialize (source As ReadOnlyMemory(Of Byte), session As SerializerSession) As T

Parameters

source
ReadOnlyMemory<Byte>

The source buffer.

session
SerializerSession

The serializer session.

Returns

T

The deserialized value.

Applies to

Deserialize(ReadOnlyMemory<Byte>)

Deserialize a value of type T from source.

public T Deserialize (ReadOnlyMemory<byte> source);
member this.Deserialize : ReadOnlyMemory<byte> -> 'T
Public Function Deserialize (source As ReadOnlyMemory(Of Byte)) As T

Parameters

source
ReadOnlyMemory<Byte>

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize(Stream)

Deserialize a value of type T from source.

public T Deserialize (System.IO.Stream source);
member this.Deserialize : System.IO.Stream -> 'T
Public Function Deserialize (source As Stream) As T

Parameters

source
Stream

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize(Byte[])

Deserialize a value of type T from source.

public T Deserialize (byte[] source);
member this.Deserialize : byte[] -> 'T
Public Function Deserialize (source As Byte()) As T

Parameters

source
Byte[]

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize(ReadOnlySequence<Byte>)

Deserialize a value of type T from source.

public T Deserialize (System.Buffers.ReadOnlySequence<byte> source);
member this.Deserialize : System.Buffers.ReadOnlySequence<byte> -> 'T
Public Function Deserialize (source As ReadOnlySequence(Of Byte)) As T

Parameters

source
ReadOnlySequence<Byte>

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize(ArraySegment<Byte>)

Deserialize a value of type T from source.

public T Deserialize (ArraySegment<byte> source);
member this.Deserialize : ArraySegment<byte> -> 'T
Public Function Deserialize (source As ArraySegment(Of Byte)) As T

Parameters

source
ArraySegment<Byte>

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize(PooledBuffer+BufferSlice)

Deserialize a value of type T from source.

public T Deserialize (Orleans.Serialization.Buffers.PooledBuffer.BufferSlice source);
member this.Deserialize : Orleans.Serialization.Buffers.PooledBuffer.BufferSlice -> 'T
Public Function Deserialize (source As PooledBuffer.BufferSlice) As T

Parameters

source
PooledBuffer.BufferSlice

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize(ReadOnlySpan<Byte>)

Deserialize a value of type T from source.

public T Deserialize (ReadOnlySpan<byte> source);
member this.Deserialize : ReadOnlySpan<byte> -> 'T
Public Function Deserialize (source As ReadOnlySpan(Of Byte)) As T

Parameters

source
ReadOnlySpan<Byte>

The source buffer.

Returns

T

The deserialized value.

Applies to

Deserialize<TInput>(Reader<TInput>)

Deserialize a value of type T from source.

public T Deserialize<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> source);
member this.Deserialize : Reader -> 'T
Public Function Deserialize(Of TInput) (ByRef source As Reader(Of TInput)) As T

Type Parameters

TInput

The reader input type.

Parameters

source
Reader<TInput>

The source buffer.

Returns

T

The deserialized value.

Applies to