UnpackingUnpackObject Method (Byte, Int32) |
Unpacks the
MessagePackObject which represents the value which has MessagePack type semantics. from the specified byte array.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static UnpackingResult<MessagePackObject> UnpackObject(
byte[] source,
int offset
)
Public Shared Function UnpackObject (
source As Byte(),
offset As Integer
) As UnpackingResult(Of MessagePackObject)
public:
static UnpackingResult<MessagePackObject> UnpackObject(
array<unsigned char>^ source,
int offset
)
static member UnpackObject :
source : byte[] *
offset : int -> UnpackingResult<MessagePackObject>
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:
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
When the type of packed value is not known, use UnpackObject(Byte, Int32) instead.
See Also