BitConverter: ToInt16 |
Converts an array of bytes to an Integer value.
Public Function ToInt16( ByRef Value ( ) As Byte, ByVal StartIndex As Long ) As Integer
Exception | Condition |
---|---|
ArgumentException | StartIndex is greater than or equal to the length of Value minus 1, and is less than or equal to the length of Value minus 1. |
ArgumentNullException | Value is uninitialized. |
ArgumentOutOfRangeException | StartIndex is less than zero or greater than the length of Value minus 1. |