protected function _getMBUInt() { $uint = 0; while (1) { $byte = $this->_getByte(); $uint |= $byte & 0x7f; if ($byte & 0x80) { $uint = $uint << 7; } else { break; } } return $uint; }