Click or drag to resize
IMessagePackSerializerUnpackFrom Method
Deserialize object with specified Unpacker.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
Object UnpackFrom(
	Unpacker unpacker
)

Parameters

unpacker
Type: MsgPackUnpacker
Unpacker which unpacks values of resulting object tree.

Return Value

Type: Object
Deserialized object.
Exceptions
ExceptionCondition
ArgumentNullExceptionunpacker 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.
NotSupportedException Deserializing type is abstract type.
See Also