code: public function readChars($count)
      {
          $chars = '';
          for ($i = 0; !$this->isEmpty() && $i < $count; ++$i) {
              $chars .= $this->readChar();
          }
          return $chars;
      }
docs: {@inheritdoc}