C# Class Samples.PackableUnpackableObject

A custom serializer sample: Serialize System.DateTime as UTC.
Inheritance: IPackable, IUnpackable
Show file Open project: msgpack/msgpack-cli Class Usage Examples

Public Methods

Method Description
PackToMessage ( Packer packer, MsgPack.PackingOptions options ) : void
UnpackFromMessage ( Unpacker unpacker ) : void

Method Details

PackToMessage() public method

public PackToMessage ( Packer packer, MsgPack.PackingOptions options ) : void
packer MsgPack.Packer
options MsgPack.PackingOptions
return void

UnpackFromMessage() public method

public UnpackFromMessage ( Unpacker unpacker ) : void
unpacker MsgPack.Unpacker
return void