private function initBufferFromNextChunk()
    {
        if ($this->chunkOffset === $this->numChunks - 1) {
            return false;
        }

        $this->bufferOffset = 0;
        $this->chunkOffset++;
        $this->chunksIterator->next();

        return $this->initBufferFromCurrentChunk();
    }
private function initBufferFromNextChunk()
    {
        if ($this->chunkOffset === $this->numChunks - 1) {
            return false;
        }

        $this->bufferOffset = 0;
        $this->chunkOffset++;
        $this->chunksIterator->next();

        return $this->initBufferFromCurrentChunk();
    }
private function initBufferFromNextChunk ( ) { if ( $ this -> chunkOffset === $ this -> numChunks - 1 ) { return false ; } $ this -> bufferOffset = 0 ; $ this -> chunkOffset ++ ; $ this -> chunksIterator -> next ( ) ; return $ this -> initBufferFromCurrentChunk ( ) ; }
Advance to the next chunk and initialize the buffer to its data.

@return boolean Whether there was a next chunk to read
@throws CorruptFileException if an expected chunk could not be read successfully
Advance to the next chunk and initialize the buffer to its data .