Edit

Share via


ValueSerializer<T>.Deserialize Method

Definition

Overloads

Deserialize(ArraySegment<Byte>, T)

Deserialize a value of type T from source.

Deserialize(ReadOnlySequence<Byte>, T)

Deserialize a value of type T from source.

Deserialize(Byte[], T)

Deserialize a value of type T from source.

Deserialize(Stream, T)

Deserialize a value of type T from source.

Deserialize(ReadOnlyMemory<Byte>, T)

Deserialize a value of type T from source.

Deserialize(ReadOnlySpan<Byte>, T)

Deserialize a value of type T from source.

Deserialize(ArraySegment<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlySequence<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

Deserialize(Byte[], T, SerializerSession)

Deserialize a value of type T from source.

Deserialize(Stream, T, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlyMemory<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

Deserialize(ReadOnlySpan<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

Deserialize<TInput>(Reader<TInput>, T)

Deserialize a value of type T from source.

Deserialize(ArraySegment<Byte>, T)

Deserialize a value of type T from source.

public void Deserialize (ArraySegment<byte> source, scoped ref T result);
member this.Deserialize : ArraySegment<byte> * 'T -> unit
Public Sub Deserialize (source As ArraySegment(Of Byte), ByRef result As T)

Parameters

source
ArraySegment<Byte>

The source buffer.

result
T

The deserialized value.

Applies to

Deserialize(ReadOnlySequence<Byte>, T)

Deserialize a value of type T from source.

public void Deserialize (System.Buffers.ReadOnlySequence<byte> source, scoped ref T result);
member this.Deserialize : System.Buffers.ReadOnlySequence<byte> * 'T -> unit
Public Sub Deserialize (source As ReadOnlySequence(Of Byte), ByRef result As T)

Parameters

source
ReadOnlySequence<Byte>

The source buffer.

result
T

The deserialized value.

Applies to

Deserialize(Byte[], T)

Deserialize a value of type T from source.

public void Deserialize (byte[] source, scoped ref T result);
member this.Deserialize : byte[] * 'T -> unit
Public Sub Deserialize (source As Byte(), ByRef result As T)

Parameters

source
Byte[]

The source buffer.

result
T

The deserialized value.

Applies to

Deserialize(Stream, T)

Deserialize a value of type T from source.

public void Deserialize (System.IO.Stream source, scoped ref T result);
member this.Deserialize : System.IO.Stream * 'T -> unit
Public Sub Deserialize (source As Stream, ByRef result As T)

Parameters

source
Stream

The source buffer.

result
T

The deserialized value.

Applies to

Deserialize(ReadOnlyMemory<Byte>, T)

Deserialize a value of type T from source.

public void Deserialize (ReadOnlyMemory<byte> source, scoped ref T result);
member this.Deserialize : ReadOnlyMemory<byte> * 'T -> unit
Public Sub Deserialize (source As ReadOnlyMemory(Of Byte), ByRef result As T)

Parameters

source
ReadOnlyMemory<Byte>

The source buffer.

result
T

The deserialized value.

Applies to

Deserialize(ReadOnlySpan<Byte>, T)

Deserialize a value of type T from source.

public void Deserialize (ReadOnlySpan<byte> source, scoped ref T result);
member this.Deserialize : ReadOnlySpan<byte> * 'T -> unit
Public Sub Deserialize (source As ReadOnlySpan(Of Byte), ByRef result As T)

Parameters

source
ReadOnlySpan<Byte>

The source buffer.

result
T

The deserialized value.

Applies to

Deserialize(ArraySegment<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

public void Deserialize (ArraySegment<byte> source, scoped ref T result, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : ArraySegment<byte> * 'T * Orleans.Serialization.Session.SerializerSession -> unit
Public Sub Deserialize (source As ArraySegment(Of Byte), ByRef result As T, session As SerializerSession)

Parameters

source
ArraySegment<Byte>

The source buffer.

result
T

The deserialized value.

session
SerializerSession

The serializer session.

Applies to

Deserialize(ReadOnlySequence<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

public void Deserialize (System.Buffers.ReadOnlySequence<byte> source, scoped ref T result, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : System.Buffers.ReadOnlySequence<byte> * 'T * Orleans.Serialization.Session.SerializerSession -> unit
Public Sub Deserialize (source As ReadOnlySequence(Of Byte), ByRef result As T, session As SerializerSession)

Parameters

source
ReadOnlySequence<Byte>

The source buffer.

result
T

The deserialized value.

session
SerializerSession

The serializer session.

Applies to

Deserialize(Byte[], T, SerializerSession)

Deserialize a value of type T from source.

public void Deserialize (byte[] source, scoped ref T result, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : byte[] * 'T * Orleans.Serialization.Session.SerializerSession -> unit
Public Sub Deserialize (source As Byte(), ByRef result As T, session As SerializerSession)

Parameters

source
Byte[]

The source buffer.

result
T

The deserialized value.

session
SerializerSession

The serializer session.

Applies to

Deserialize(Stream, T, SerializerSession)

Deserialize a value of type T from source.

public void Deserialize (System.IO.Stream source, scoped ref T result, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : System.IO.Stream * 'T * Orleans.Serialization.Session.SerializerSession -> unit
Public Sub Deserialize (source As Stream, ByRef result As T, session As SerializerSession)

Parameters

source
Stream

The source buffer.

result
T

The deserialized value.

session
SerializerSession

The serializer session.

Applies to

Deserialize(ReadOnlyMemory<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

public void Deserialize (ReadOnlyMemory<byte> source, scoped ref T result, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : ReadOnlyMemory<byte> * 'T * Orleans.Serialization.Session.SerializerSession -> unit
Public Sub Deserialize (source As ReadOnlyMemory(Of Byte), ByRef result As T, session As SerializerSession)

Parameters

source
ReadOnlyMemory<Byte>

The source buffer.

result
T

The deserialized value.

session
SerializerSession

The serializer session.

Applies to

Deserialize(ReadOnlySpan<Byte>, T, SerializerSession)

Deserialize a value of type T from source.

public void Deserialize (ReadOnlySpan<byte> source, scoped ref T result, Orleans.Serialization.Session.SerializerSession session);
member this.Deserialize : ReadOnlySpan<byte> * 'T * Orleans.Serialization.Session.SerializerSession -> unit
Public Sub Deserialize (source As ReadOnlySpan(Of Byte), ByRef result As T, session As SerializerSession)

Parameters

source
ReadOnlySpan<Byte>

The source buffer.

result
T

The deserialized value.

session
SerializerSession

The serializer session.

Applies to

Deserialize<TInput>(Reader<TInput>, T)

Deserialize a value of type T from source.

public void Deserialize<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> source, scoped ref T result);
member this.Deserialize : Reader * 'T -> unit
Public Sub Deserialize(Of TInput) (ByRef source As Reader(Of TInput), ByRef result As T)

Type Parameters

TInput

The reader input type.

Parameters

source
Reader<TInput>

The source buffer.

result
T

The deserialized value.

Applies to