code: function _rightShift(buffer) {
          var carry, prevcarry;
          for (var i = 0; i < buffer.length; i++) {
              carry = prevcarry;
              prevcarry = (buffer[i] & 0x1) !== 0;
              buffer[i] >>= 1;
              if (carry && i > 0) {
                  buffer[i] |= 0x80;
              }
          }
      }
docs: /*
  Performs buffer right bits shift