/**
  * read the stream up to $count bytes
  *
  * @param   int     $count  amount of bytes to read
  * @return  string
  */
 public function stream_read($count)
 {
     if (self::WRITEONLY === $this->mode) {
         return '';
     }
     if ($this->content->isReadable(vfsStream::getCurrentUser(), vfsStream::getCurrentGroup()) === false) {
         return '';
     }
     return $this->content->read($count);
 }