Skip to content

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

Deserialize(ReadOnlySequence<byte>, SerializerSession, Type)

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

Parameters

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

Returns

The deserialized value.