i16 method

int i16()

Implementation

int i16() {
  final int value = u16();
  return value >= 0x8000 ? value - 0x10000 : value;
}