共用方式為


Deserializer Class

Definition

Implements deserialization code for data serialized with SimpleDataTypesSerializer and provides abstract method to implement support for complex data, uniquely identifiable objects and references.

public abstract class Deserializer : MessagePack.Formatters.IMessagePackFormatter<object>
type Deserializer = class
    interface IMessagePackFormatter<obj>
    interface IMessagePackFormatter
Public MustInherit Class Deserializer
Implements IMessagePackFormatter(Of Object)
Inheritance
Deserializer
Implements
MessagePack.Formatters.IMessagePackFormatter MessagePack.Formatters.IMessagePackFormatter<Object>

Constructors

Deserializer()

Methods

ConvertToType(DataTypeCode)

Converts a DataTypeCode to its corresponding Type.

Deserialize(MessagePackReader, MessagePackSerializerOptions)
DeserializeComplexObject(MessagePackReader, MessagePackSerializerOptions)

This method is invoked by DeserializeWithTypeInfo(MessagePackReader, MessagePackSerializerOptions) to have a complex object deserialized.

DeserializeWithTypeInfo(MessagePackReader, MessagePackSerializerOptions)

This method implements MessagePack deserialization for Remote UI data and returns the type of the field being deserialized when the field is one of DataTypeCode or a nullable of one of such types.

GetEmptyObject()

This method is invoked by DeserializeWithTypeInfo(MessagePackReader, MessagePackSerializerOptions) to retrieve an empty object (an object with no properties).

GetReference(ObjectId, MessagePackSerializerOptions)

This method is invoked by DeserializeWithTypeInfo(MessagePackReader, MessagePackSerializerOptions) to retrieve the uniquely identifiable object id.

Serialize(MessagePackWriter, Object, MessagePackSerializerOptions) MessagePack.Formatters.IMessagePackFormatter`1.Serialize(MessagePack.MessagePackWriter@,`0,MessagePack.MessagePackSerializerOptions)

Applies to