getValue method

int getValue(
  1. int bits
)

Implementation

int getValue(int bits) {
  var v = 0;
  while (bits-- > 0) {
    v |= getBit(0x80) << bits;
  }
  return v;
}