Skip to content

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

Deserialize(ReadOnlySpan<byte>, SerializerSession, Type)

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

Parameters

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

Returns

The deserialized value.