protected function _getTermStr() { $str = ''; while (1) { $in = $this->_getByte(); if ($in == 0) { break; } else { $str .= chr($in); } } return $str; }