You are here

function PHPExcel_Shared_ZipStreamWrapper::stream_read in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipStreamWrapper.php \PHPExcel_Shared_ZipStreamWrapper::stream_read()

* Implements support for fread(), fgets() etc. * *

Parameters

int $count maximum number of bytes to read: * @return string

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/ZipStreamWrapper.php, line 136

Class

PHPExcel_Shared_ZipStreamWrapper
PHPExcel_Shared_ZipStreamWrapper

Code

function stream_read($count) {
  $ret = substr($this->_data, $this->_position, $count);
  $this->_position += strlen($ret);
  return $ret;
}