Click or drag to resize
UnpackerReadSubtree Method
Starts unpacking of current subtree.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public Unpacker ReadSubtree()

Return Value

Type: Unpacker
Unpacker to unpack current subtree. This will not be null.
Exceptions
ExceptionCondition
InvalidOperationException This unpacker is not positioned on the header of array nor map. Or this unpacker already returned Unpacker for subtree and it has not been closed yet.
Remarks
While subtree unpacker is used, this instance will be 'locked' (called 'subtree' mode) and be unavailable. When you finish to unpack subtree, you must invoke Dispose, or you faces InvalidOperationException when you use the parent instance. Subtree unpacker can only unpack subtree, so you can handle collection deserialization easily.
See Also