Click or drag to resize
MessagePackSerializerTUnpackTo Method
Deserializes collection items with specified Unpacker and stores them to collection.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public void UnpackTo(
	Unpacker unpacker,
	T collection
)

Parameters

unpacker
Type: MsgPackUnpacker
Unpacker which unpacks values of resulting object tree.
collection
Type: T
Collection that the items to be stored.
Exceptions
ExceptionCondition
ArgumentNullExceptionunpacker is null. Or collection is null.
SerializationException Failed to deserialize object due to invalid unpacker state, stream content, or so.
MessageTypeException Failed to deserialize object due to invalid unpacker state, stream content, or so.
InvalidMessagePackStreamException Failed to deserialize object due to invalid unpacker state, stream content, or so.
NotSupportedExceptionT is not collection.
See Also