MessagePackSerializerT Class |
Namespace: MsgPack.Serialization
public abstract class MessagePackSerializer<T> : IMessagePackSingleObjectSerializer, IMessagePackSerializer
The MessagePackSerializerT type exposes the following members.
Name | Description | |
---|---|---|
MessagePackSerializerT | Obsolete.
Initializes a new instance of the MessagePackSerializerT class with Classic.
| |
MessagePackSerializerT(PackerCompatibilityOptions) | Obsolete.
Initializes a new instance of the MessagePackSerializerT class with default context..
| |
MessagePackSerializerT(SerializationContext) |
Initializes a new instance of the MessagePackSerializerT class.
| |
MessagePackSerializerT(SerializationContext, PackerCompatibilityOptions) |
Initializes a new instance of the MessagePackSerializerT class with explicitly specified compatibility option.
|
Name | Description | |
---|---|---|
OwnerContext |
Gets a SerializationContext which owns this serializer.
| |
PackerCompatibilityOptions |
Gets the packer compatibility options for this instance.
|
Name | Description | |
---|---|---|
Pack |
Serializes specified object to the Stream.
| |
PackSingleObject |
Serializes specified object to the array of Byte.
| |
PackTo |
Serializes specified object with specified Packer.
| |
PackToCore |
Serializes specified object with specified Packer.
| |
Unpack |
Deserialize object from the Stream.
| |
UnpackFrom |
Deserializes object with specified Unpacker.
| |
UnpackFromCore |
Deserializes object with specified Unpacker.
| |
UnpackNil |
Unpacks the nil value.
| |
UnpackSingleObject |
Deserializes a single object from the array of Byte which contains a serialized object.
| |
UnpackTo |
Deserializes collection items with specified Unpacker and stores them to collection.
| |
UnpackToCore |
Deserializes collection items with specified Unpacker and stores them to collection.
|
Name | Description | |
---|---|---|
Pack(Stream, Object) | Overloaded.
Serializes specified object to the Stream with default PackerCompatibilityOptions.
(Defined by MessagePackSerializerExtensions.) | |
Pack(Stream, Object, PackerCompatibilityOptions) | Overloaded.
Serializes specified object to the Stream.
(Defined by MessagePackSerializerExtensions.) | |
Unpack |
Deserialize object from the Stream.
(Defined by MessagePackSerializerExtensions.) |
This class implements strongly typed serialization and deserialization.
When the underlying stream does not contain strongly typed or contains dynamically typed objects, you should use Unpacker directly and take advantage of MessagePackObject.