filestack/UploadProcessor.php
protected function getChunkContent($filepath, $seek_point, $chunk_size) {
        $handle = fopen($filepath, 'r');
        fseek($handle, $seek_point);
        $chunk = fread($handle, $chunk_size);

        fclose($handle);
        $handle = null;
        return $chunk;
    }
protected function getChunkContent($filepath, $seek_point, $chunk_size) {
        $handle = fopen($filepath, 'r');
        fseek($handle, $seek_point);
        $chunk = fread($handle, $chunk_size);

        fclose($handle);
        $handle = null;
        return $chunk;
    }
protected function getChunkContent ( $ filepath , $ seek_point , $ chunk_size ) { $ handle = fopen ( $ filepath , 'r' ) ; fseek ( $ handle , $ seek_point ) ; $ chunk = fread ( $ handle , $ chunk_size ) ; fclose ( $ handle ) ; $ handle = null ; return $ chunk ; }
Get a chunk from a file given starting seek point.
Get a chunk from a file given starting seek point .