Click or drag to resize
UnpackingUnpackArray Method (Byte)
Unpacks the array from the head of specified byte array.

Namespace: MsgPack
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
public static UnpackingResult<IList<MessagePackObject>> UnpackArray(
	byte[] source
)

Parameters

source
Type: SystemByte
The byte array which contains Message Pack binary stream.

Return Value

Type: UnpackingResultIListMessagePackObject
The UnpackingResultT of IListT which contains unpacked the array and processed bytes count.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null.
ArgumentExceptionsource is empty.
UnpackExceptionsource is not valid MessagePack stream.
MessageTypeException The unpacked result in the source is not compatible to IListT.
MessageNotSupportedException The items count of the underlying collection body is over MaxValue.
Remarks
See Also