Click or drag to resize

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.2.419.0 (24.2.419.0)
Syntax
public short ToInt16(
	byte[] value,
	int startIndex
)

Parameters

value
Type: SystemByte
An array of bytes.
startIndex
Type: SystemInt32
The starting position within value.

Return Value

Type: Int16
A 16-bit signed integer formed by two bytes beginning at startIndex.
See Also