BigEndianToInt16(Byte, Int32) Method
Returns a 16-bit signed integer converted from two bytes, accounting for target endian-order, at a specified position in a byte array.
Namespace: GemstoneAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.170 -- Release Build+d52ae7197b8b2924ea9e1e530d25301718816611
public static short ToInt16(
byte[] buffer,
int startIndex
)
Public Shared Function ToInt16 (
buffer As Byte(),
startIndex As Integer
) As Short
Gemstone.BigEndian.ToInt16 = function(buffer, startIndex);
- buffer Byte
- An array of bytes (i.e., buffer containing binary image of value).
- startIndex Int32
- The starting position within value.
Int16A 16-bit signed integer formed by two bytes beginning at startIndex.