Click or drag to resize
UnpackingUnpackExtendedTypeObject Method (Byte, Int32)
Unpacks the MessagePackExtendedTypeObject which represents the extended type value. from the specified byte array.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public static UnpackingResult<MessagePackExtendedTypeObject> UnpackExtendedTypeObject(
	byte[] source,
	int offset
)

Parameters

source
Type: SystemByte
The byte array which contains Message Pack binary stream.
offset
Type: SystemInt32
The offset to be unpacking start with.

Return Value

Type: UnpackingResultMessagePackExtendedTypeObject
The UnpackingResultT of MessagePackExtendedTypeObject which contains unpacked the MessagePackExtendedTypeObject which represents the extended type value. and processed bytes count.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null.
ArgumentExceptionsource is empty. Or, the length of source is not grator than offset.
ArgumentOutOfRangeExceptionoffset is negative value.
UnpackExceptionsource 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.
Remarks
See Also