You are here

public function PHPExcel_Writer_Excel5_BIFFwriter::writeEof in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/BIFFwriter.php \PHPExcel_Writer_Excel5_BIFFwriter::writeEof()

* Writes Excel EOF record to indicate the end of a BIFF stream. * * @access private

1 call to PHPExcel_Writer_Excel5_BIFFwriter::writeEof()
PHPExcel_Writer_Excel5_Workbook::writeWorkbook in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Workbook.php
* Assemble worksheets into a workbook and send the BIFF data to an OLE * storage. * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/BIFFwriter.php, line 209

Class

PHPExcel_Writer_Excel5_BIFFwriter
PHPExcel_Writer_Excel5_BIFFwriter

Code

public function writeEof() {
  $record = 0xa;

  // Record identifier
  $length = 0x0;

  // Number of bytes to follow
  $header = pack("vv", $record, $length);
  return $this
    ->writeData($header);
}