getInt method
Reads a region of the buffer as a signed integer.
Items are read from the range [offset : offset+length].
The range must satisfy the relations 0 ≤ offset ≤ offset+length ≤ this.length.
Implementation
int getInt(final int offset, final int length, [final Endian endian = Endian.little]) {
return getUint(offset, length, endian).toSigned(length * _bitLength);
}