Click or drag to resize

LittleEndianBitConverterToUInt16 Method

Reads a 16-bit unsigned integer from the specified position in a byte array.

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public static ushort ToUInt16(
	byte[] buffer,
	int offset
)

Parameters

buffer
Type: SystemByte
An array of bytes.
offset
Type: SystemInt32
The starting position within buffer.

Return Value

Type: UInt16
A 16-bit unsigned integer formed by two bytes beginning at offset.
See Also