EndianBitConverterToInt16 Method |
Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public short ToInt16(
byte[] value,
int startIndex
)
Public Function ToInt16 (
value As Byte(),
startIndex As Integer
) As Short
public:
short ToInt16(
array<unsigned char>^ value,
int startIndex
)
member ToInt16 :
value : byte[] *
startIndex : int -> int16
Parameters
- value
- Type: SystemByte
An array of bytes. - startIndex
- Type: SystemInt32
The starting position within value.
Return Value
Type:
Int16A 16-bit signed integer formed by two bytes beginning at
startIndex.
See Also