Edytuj

Udostępnij za pośrednictwem


SerializationManager.DeserializeFromByteArray Method

Definition

Overloads

DeserializeFromByteArray(Byte[], Type)
DeserializeFromByteArray<T>(Byte[])

Deserialize data from the specified byte[] and rehydrate backi into objects.

DeserializeFromByteArray(Byte[], Type)

Source:
SerializationManager.cs
public object DeserializeFromByteArray (byte[] data, Type expectedType);
member this.DeserializeFromByteArray : byte[] * Type -> obj
Public Function DeserializeFromByteArray (data As Byte(), expectedType As Type) As Object

Parameters

data
Byte[]
expectedType
Type

Returns

Applies to

DeserializeFromByteArray<T>(Byte[])

Source:
SerializationManager.cs

Deserialize data from the specified byte[] and rehydrate backi into objects.

public T DeserializeFromByteArray<T> (byte[] data);
member this.DeserializeFromByteArray : byte[] -> 'T
Public Function DeserializeFromByteArray(Of T) (data As Byte()) As T

Type Parameters

T

Type of data to be returned.

Parameters

data
Byte[]

Input data.

Returns

T

Object of the required Type, rehydrated from the input stream.

Applies to