class final Optional · pdftoolkit/pdf-reader 0.1.7
PDF\Reading\ByteCursorA bounded view with absolute offsets; constructing it does not copy a slice.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(string $bytes, int $offset = 0, ?int $end = null)Declared methods
eof()
public function eof(): boolpeek()
public function peek(int $length = 1): stringposition()
public function position(): intread()
public function read(int $length): string@phpstan-impureremaining()
public function remaining(): intseek()
public function seek(int $offset): void@phpstan-impureskipWhitespaceAndComments()
public function skipWhitespaceAndComments(): void@phpstan-impure