private static function PHPExcel_Reader_Excel5::_uncompressByteString in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php \PHPExcel_Reader_Excel5::_uncompressByteString()
* Convert UTF-16 string in compressed notation to uncompressed form. Only used for BIFF8. * *
Parameters
string $string: * @return string
1 call to PHPExcel_Reader_Excel5::_uncompressByteString()
- PHPExcel_Reader_Excel5::_encodeUTF16 in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php - * Get UTF-8 string from (compressed or uncompressed) UTF-16 string * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5.php, line 6743
Class
- PHPExcel_Reader_Excel5
- PHPExcel_Reader_Excel5
Code
private static function _uncompressByteString($string) {
$uncompressedString = '';
$strLen = strlen($string);
for ($i = 0; $i < $strLen; ++$i) {
$uncompressedString .= $string[$i] . "\0";
}
return $uncompressedString;
}