메소드 | 설명 | |
---|---|---|
Pack ( Stream stream, object objectTree ) : void |
Serializes specified object to the Stream.
|
|
Unpack ( Stream stream ) : object |
Deserialize object from the Stream.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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. |
리턴 | System |
public Pack ( Stream stream, object objectTree ) : void | ||
stream | Stream | Destination |
objectTree | object | Object to be serialized. |
리턴 | void |
protected abstract PackToCore ( Packer packer, object objectTree ) : void | ||
packer | Packer | |
objectTree | object | Object to be serialized. |
리턴 | void |
protected abstract UnpackFromCore ( Unpacker unpacker ) : object | ||
unpacker | Unpacker | |
리턴 | object |
protected UnpackToCore ( Unpacker unpacker, object collection ) : void | ||
unpacker | Unpacker | |
collection | object | Collection that the items to be stored. This value will not be |
리턴 | void |