| LittleEndianBitConverterToInt16 Method |
Reads a 16-bit signed 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 short ToInt16(
byte[] buffer,
int offset
)
Public Shared Function ToInt16 (
buffer As Byte(),
offset As Integer
) As Short
public:
static short ToInt16(
array<unsigned char>^ buffer,
int offset
)
static member ToInt16 :
buffer : byte[] *
offset : int -> int16
Parameters
- buffer
- Type: SystemByte
An array of bytes. - offset
- Type: SystemInt32
The starting position within buffer.
Return Value
Type:
Int16A 16-bit signed integer formed by two bytes beginning at
offset.
See Also