UnpackingUnpackInt16 Method (Byte, Int32) |
Unpacks
Int16 value from the specified byte array.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static UnpackingResult<short> UnpackInt16(
byte[] source,
int offset
)
Public Shared Function UnpackInt16 (
source As Byte(),
offset As Integer
) As UnpackingResult(Of Short)
public:
static UnpackingResult<short> UnpackInt16(
array<unsigned char>^ source,
int offset
)
static member UnpackInt16 :
source : byte[] *
offset : int -> UnpackingResult<int16>
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:
UnpackingResultInt16
The
UnpackingResultT of
Int16 which contains unpacked
Int16 value and processed bytes count.
Exceptions Remarks See Also