 | LittleEndianBitConverterToUInt16 Method |
Reads a 16-bit unsigned integer from the specified position in a byte array.
Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static ushort ToUInt16(
byte[] buffer,
int offset
)
Public Shared Function ToUInt16 (
buffer As Byte(),
offset As Integer
) As UShort
public:
static unsigned short ToUInt16(
array<unsigned char>^ buffer,
int offset
)
static member ToUInt16 :
buffer : byte[] *
offset : int -> uint16
Parameters
- buffer Byte
- An array of bytes.
- offset Int32
- The starting position within buffer.
Return Value
UInt16A 16-bit unsigned integer formed by two bytes beginning at
offset.
See Also