UnpackingUnpackArrayLength Method (Byte, Int32) |
Unpacks length of the array from the specified byte array.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static UnpackingResult<Nullable<long>> UnpackArrayLength(
byte[] source,
int offset
)
Public Shared Function UnpackArrayLength (
source As Byte(),
offset As Integer
) As UnpackingResult(Of Nullable(Of Long))
public:
static UnpackingResult<Nullable<long long>> UnpackArrayLength(
array<unsigned char>^ source,
int offset
)
static member UnpackArrayLength :
source : byte[] *
offset : int -> UnpackingResult<Nullable<int64>>
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:
UnpackingResultNullableInt64
The
UnpackingResultT of nullable
Int64 which contains unpacked length of the array and processed bytes count.
Exceptions Remarks See Also