getIntValue
Returns an integer value from the byte array.
The formatType parameter determines how the value is to be interpreted. For example, setting formatType to .FORMAT_UINT16_LE specifies that the first two bytes of the value at the given offset are interpreted to generate the return value.
Return
Cached value or null of offset exceeds value size.
Parameters
formatType
The format type used to interpret the value.
offset
Offset at which the integer value can be found.