getSignedValue method

int getSignedValue(
  1. int bits
)

Implementation

int getSignedValue(int bits) {
  final value = getValue(bits);
  return get() == 1 ? -value : value;
}