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