UnpackingUnpackObject Method (Byte) |
Unpacks the
MessagePackObject which represents the value which has MessagePack type semantics. from the head of specified byte array.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static UnpackingResult<MessagePackObject> UnpackObject(
byte[] source
)
Public Shared Function UnpackObject (
source As Byte()
) As UnpackingResult(Of MessagePackObject)
public:
static UnpackingResult<MessagePackObject> UnpackObject(
array<unsigned char>^ source
)
static member UnpackObject :
source : byte[] -> UnpackingResult<MessagePackObject>
Parameters
- source
- Type: SystemByte
The byte array which contains Message Pack binary stream.
Return Value
Type:
UnpackingResultMessagePackObject
The
UnpackingResultT of
MessagePackObject which contains unpacked the
MessagePackObject which represents the value which has MessagePack type semantics. and processed bytes count.
Exceptions Remarks
Invocation of this method is equivalant to call UnpackObject(Byte, Int32) with offset is 0.
When the type of packed value is not known, use UnpackObject(Byte) instead.
See Also