Click or drag to resize
MessagePackSerializerUnpackMessagePackObject Method
Directly deserialize specified MessagePack Stream as MessagePackObject tree.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public static MessagePackObject UnpackMessagePackObject(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The stream which contains deserializing data.

Return Value

Type: MessagePackObject
A MessagePackObject which is root of the deserialized MessagePack object tree.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
Remarks
This method is convinient wrapper for GetT(SerializationContext) for MessagePackObject.
Note Note
You cannot override this method behavior because this method uses private SerializationContext instead of default context which is able to be accessed via Default.
See Also