setasign\SetaPDF2\Core\Reader
ReaderInterface Interface of a reader implementation
File: /SetaPDF v2/Core/Reader/ReaderInterface.php
Old class name (alias):
\SetaPDF_Core_Reader_ReaderInterface
Implemented in
Summary
Methods
copyTo()
ensure()
Ensures bytes in the buffer with a specific length and location in the file.
Parameters
- $pos : int
- $length : int
See
ensureContent()
Make sure that there is at least one character beyond the current offset in the buffer.
readByte()
Get the byte at the current or at a specific offset position and sets the internal pointer to the next byte.
Parameters
- $pos : int
readBytes()
Get a specific byte count from the current or at a specific offset position and set the internal pointer to the next byte.
Parameters
- $length : int
- $pos : int
reset()
Resets the buffer to a specific position and reread the buffer with the given length.
Parameters
- $pos : ?int
- $length : int