Lines Matching refs:read
112 throw new ArchiveIOException('Can not read from a closed archive');
115 while ($read = $this->readbytes(512)) {
116 $header = $this->parseHeader($read);
158 throw new ArchiveIOException('Can not read from a closed archive');
169 // read the file header
287 $read = 0;
294 $read += strlen($data);
306 if ($read != $fileinfo->getSize()) {
308 throw new ArchiveCorruptedException("The size of $file changed while reading, archive corrupted. read $read expected ".$fileinfo->getSize());
351 * read access no reading is allowed anymore
436 * @param int $length bytes to read
487 // there is no seek in bzip2, we simply read on
488 // bzread allows to read a max of 8kb at once
694 // for existing files, try to read the magic bytes