Click or drag to resize
MessagePackSerializerTPackTo Method
Serializes specified object with specified Packer.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public void PackTo(
	Packer packer,
	T objectTree
)

Parameters

packer
Type: MsgPackPacker
Packer which packs values in objectTree.
objectTree
Type: T
Object to be serialized.
Exceptions
ExceptionCondition
ArgumentNullExceptionpacker is null.
SerializationExceptionT is not serializable etc.
See Also