protected function _getByte() { $ch = $this->_stream->getChar(); if (strlen($ch) > 0) { $ch = ord($ch); return $ch; } else { return; } }