Méthode | Description | |
---|---|---|
PackSingleObject ( object objectTree ) : byte[] |
Serialize specified object to the array of Byte.
|
|
PackTo ( Packer packer, object objectTree ) : void |
Serialize specified object with specified Packer.
|
|
UnpackFrom ( Unpacker unpacker ) : object |
Deserialize object with specified Unpacker.
|
|
UnpackFromAsync ( Unpacker unpacker, |
Deserialize object with specified Unpacker asynchronously.
|
|
UnpackSingleObject ( byte buffer ) : object |
Deserialize a single object from the array of Byte which contains a serialized object. This method assumes that buffer contains single serialized object dedicatedly, so this method does not return any information related to actual consumed bytes. This method is a counter part of PackSingleObject. |
|
UnpackSingleObjectAsync ( byte buffer, |
Deserialize a single object from the array of Byte which contains a serialized object. This method assumes that buffer contains single serialized object dedicatedly, so this method does not return any information related to actual consumed bytes. This method is a counter part of PackSingleObjectAsync. |
|
UnpackTo ( Unpacker unpacker, object collection ) : void |
Deserialize collection items with specified Unpacker and stores them to collection.
|
|
UnpackToAsync ( Unpacker unpacker, object collection, |
Deserialize collection items with specified Unpacker and stores them to collection asynchronously.
|
Méthode | Description | |
---|---|---|
InternalGetCapabilities ( ) : SerializerCapabilities | ||
InternalPackSingleObject ( object objectTree ) : byte[] | ||
InternalPackSingleObjectAsync ( object objectTree, |
||
InternalPackTo ( Packer packer, object objectTree ) : void | ||
InternalPackToAsync ( Packer packer, object objectTree, |
||
InternalUnpackFrom ( Unpacker unpacker ) : object | ||
InternalUnpackFromAsync ( Unpacker unpacker, |
||
InternalUnpackSingleObject ( byte buffer ) : object | ||
InternalUnpackSingleObjectAsync ( byte buffer, |
||
InternalUnpackTo ( Unpacker unpacker, object collection ) : void | ||
InternalUnpackToAsync ( Unpacker unpacker, object collection, |
||
MessagePackSerializer ( MsgPack.Serialization.SerializationContext ownerContext, PackerCompatibilityOptions packerCompatibilityOptions, SerializerCapabilities capabilities ) : System |
Initializes a new instance of the MessagePackSerializer class.
|
|
PackSingleObjectAsync ( object objectTree, |
||
PackToAsync ( Packer packer, object objectTree, |
||
ThrowArgumentNullException ( string parameterName ) : void |
public PackSingleObject ( object objectTree ) : byte[] | ||
objectTree | object | Object to be serialized. |
Résultat | byte[] |
public PackTo ( Packer packer, object objectTree ) : void | ||
packer | Packer | |
objectTree | object | Object to be serialized. |
Résultat | void |
public UnpackFrom ( Unpacker unpacker ) : object | ||
unpacker | Unpacker | |
Résultat | object |
public UnpackFromAsync ( Unpacker unpacker, |
||
unpacker | Unpacker | |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
Résultat | Task |
public UnpackSingleObject ( byte buffer ) : object | ||
buffer | byte | An array of |
Résultat | object |
public UnpackSingleObjectAsync ( byte buffer, |
||
buffer | byte | An array of |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
Résultat | Task |
public UnpackTo ( Unpacker unpacker, object collection ) : void | ||
unpacker | Unpacker | |
collection | object | Collection that the items to be stored. |
Résultat | void |
public UnpackToAsync ( Unpacker unpacker, object collection, |
||
unpacker | Unpacker | |
collection | object | Collection that the items to be stored. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
Résultat | Task |