accumulateHigh function

int accumulateHigh(
  1. int high,
  2. int byte,
  3. int shift
)

Folds byte's 7-bit group into the high half of a signed accumulator.

Implementation

int accumulateHigh(int high, int byte, int shift) {
  if (shift < _signedSplitBits) return high;
  return high + _platform.shiftLeftInt(byte & 0x7F, shift - _signedSplitBits);
}