Skip to content

ObjectSerializer.Deserialize(ArraySegment<byte>, SerializerSession, Type)

Deserialize(ArraySegment<byte>, SerializerSession, Type)

View source
public object Deserialize(ArraySegment<byte> source, SerializerSession session, Type type)
Deserialize a value of type type from source.

Parameters

sourceArraySegment<byte>
The source buffer.
sessionSerializerSession
The serializer session.
typeType
The expected type of the value.

Returns

The deserialized value.