Click or drag to resize
MessagePackExtendedTypeObjectUnpack Method
Creates a new instance of the MessagePackExtendedTypeObject struct.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public static MessagePackExtendedTypeObject Unpack(
	byte typeCode,
	byte[] body
)

Parameters

typeCode
Type: SystemByte
A type code of this extension object.
body
Type: SystemByte
A binary value portion.

Return Value

Type: MessagePackExtendedTypeObject

[Missing <returns> documentation for "M:MsgPack.MessagePackExtendedTypeObject.Unpack(System.Byte,System.Byte[])"]

Exceptions
ExceptionCondition
ArgumentNullExceptionThe body is null.
Remarks
This method allows reserved type code. It means that this method does not throw exception when the typeCode is reserved value (greater then 0x7F).
See Also