private function PHPExcel_Shared_OLERead::_readData in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLERead.php \PHPExcel_Shared_OLERead::_readData()
* Read a standard stream (by joining sectors using information from SAT) * *
Parameters
int $bl Sector ID where the stream starts: * @return string Data for standard stream
2 calls to PHPExcel_Shared_OLERead::_readData()
- PHPExcel_Shared_OLERead::getStream in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ OLERead.php - * Extract binary stream data * *
- PHPExcel_Shared_OLERead::read in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ OLERead.php - * Read the file * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ OLERead.php, line 220
Class
Code
private function _readData($bl) {
$block = $bl;
$data = '';
while ($block != -2) {
$pos = ($block + 1) * self::BIG_BLOCK_SIZE;
$data .= substr($this->data, $pos, self::BIG_BLOCK_SIZE);
$block = self::_GetInt4d($this->bigBlockChain, $block * 4);
}
return $data;
}