UnpackingUnpackExtendedTypeObject Method (Byte) |
Namespace: MsgPack
public static UnpackingResult<MessagePackExtendedTypeObject> UnpackExtendedTypeObject( byte[] source )
Exception | Condition |
---|---|
ArgumentNullException | source is null. |
ArgumentException | source is empty. |
UnpackException | source is not valid MessagePack stream. |
MessageTypeException | The unpacked result in the source is not compatible to MessagePackExtendedTypeObject. |
MessageNotSupportedException | The items count of the underlying collection body is over MaxValue. |
Invocation of this method is equivalant to call UnpackExtendedTypeObject(Byte, Int32) with offset is 0.
When the type of packed value is not known, use UnpackObject(Byte) instead.