You are here

public function CsvParser::setStartByte in Feeds 8.3

Sets the byte where file should be started at.

Useful when parsing a file in batches.

Parameters

int $start: The byte position to start parsing.

Return value

$this

File

src/Component/CsvParser.php, line 192

Class

CsvParser
Parses an RFC 4180 style CSV file.

Namespace

Drupal\feeds\Component

Code

public function setStartByte($start) {
  $this->startByte = (int) $start;
  return $this;
}