Skip to content

ObjectSerializer.Deserialize(byte[], SerializerSession, Type)

Deserialize(byte[], SerializerSession, Type)

View source
public object Deserialize(byte[] source, SerializerSession session, Type type)
Deserialize a value of type type from source.

Parameters

sourcebyte[]
The source buffer.
sessionSerializerSession
The serializer session.
typeType
The expected type of the value.

Returns

The deserialized value.