Method | Description | |
---|---|---|
Pack ( Stream stream, object objectTree ) : void |
Serializes specified object to the Stream.
|
|
Unpack ( Stream stream ) : object |
Deserialize object from the Stream.
|
Method | Description | |
---|---|---|
NonGenericMessagePackSerializer ( MsgPack.Serialization.SerializationContext ownerContext, |
Initializes a new instance of the NonGenericMessagePackSerializer class with explicitly specified compatibility option. This method also supports backword compatibility with 0.4. |
|
NonGenericMessagePackSerializer ( MsgPack.Serialization.SerializationContext ownerContext, |
Initializes a new instance of the NonGenericMessagePackSerializer class with explicitly specified compatibility option.
|
|
PackToCore ( Packer packer, object objectTree ) : void |
Serializes specified object with specified Packer.
|
|
UnpackFromCore ( Unpacker unpacker ) : object |
Deserializes object with specified Unpacker.
|
|
UnpackToCore ( Unpacker unpacker, object collection ) : void |
Deserializes collection items with specified Unpacker and stores them to collection.
|
Method | Description | |
---|---|---|
InternalPackSingleObject ( object objectTree ) : byte[] | ||
InternalPackTo ( Packer packer, object objectTree ) : void | ||
InternalUnpackFrom ( Unpacker unpacker ) : object | ||
InternalUnpackSingleObject ( byte buffer ) : object | ||
InternalUnpackTo ( Unpacker unpacker, object collection ) : void | ||
JudgeNullable ( |
protected NonGenericMessagePackSerializer ( MsgPack.Serialization.SerializationContext ownerContext, |
||
ownerContext | MsgPack.Serialization.SerializationContext | A |
targetType | The type to be serialized. | |
packerCompatibilityOptions | PackerCompatibilityOptions | The |
capabilities | SerializerCapabilities | The capability flags for this instance. |
return | System |
protected NonGenericMessagePackSerializer ( MsgPack.Serialization.SerializationContext ownerContext, |
||
ownerContext | MsgPack.Serialization.SerializationContext | A |
targetType | The type to be serialized. | |
capabilities | SerializerCapabilities | The capability flags for this instance. |
return | System |
public Pack ( Stream stream, object objectTree ) : void | ||
stream | Stream | Destination |
objectTree | object | Object to be serialized. |
return | void |
protected abstract PackToCore ( Packer packer, object objectTree ) : void | ||
packer | Packer | |
objectTree | object | Object to be serialized. |
return | void |
public Unpack ( Stream stream ) : object | ||
stream | Stream | Source |
return | object |
protected abstract UnpackFromCore ( Unpacker unpacker ) : object | ||
unpacker | Unpacker | |
return | object |
protected UnpackToCore ( Unpacker unpacker, object collection ) : void | ||
unpacker | Unpacker | |
collection | object | Collection that the items to be stored. This value will not be |
return | void |