phpdftk API Documentation

FileSource
in package
implements Source

FinalYes

Table of Contents

Interfaces

Source
Seekable byte source abstraction for the PDF tokenizer.

Methods

__construct()  : mixed
__destruct()  : mixed
isEof()  : bool
peek()  : string
read()  : string
readByte()  : string|null
seek()  : void
size()  : int
tell()  : int

Methods

__construct()

public __construct(string $path) : mixed
Parameters
$path : string

isEof()

public isEof() : bool
Return values
bool

peek()

public peek([int $length = 1 ]) : string
Parameters
$length : int = 1
Return values
string

read()

public read(int $length) : string
Parameters
$length : int
Return values
string

readByte()

public readByte() : string|null
Return values
string|null

seek()

public seek(int $offset) : void
Parameters
$offset : int

        
On this page

Search results