| Sgss_File_Reader_Filter_Abstract | Abstract class of the wrapper for the classes implementing Sgss_File_Reader_Interface |
| Sgss_File_Reader_String | Reads bytes from string |
| Sgss_File_Reader | Reads bytes from the Sgss_File_Stream_Read object |
|
$_position
Current pointer position of the stream in byte |
|
$_size
Size of the stream in byte |
Sgss_File_Reader_Filter_Abstract |
filter (string $filter, [string|null $namespace = null])
Returns the filtered reader specified by the parameters |
int |
move (int $position)
Moves the pointer of the stream to the specified position in byte without reading the contents |
int |
position ()
Returns the current pointer position of the stream in byte |
int |
size ()
Returns the size of the stream in byte |
int |
skip (int $length)
Moves the pointer of the stream by the specified length of bytes without reading the contents |
Current pointer position of the stream in byte
protected int $_position = 0
Size of the stream in byte
protected int $_size = 0
Returns the filtered reader specified by the parameters
string $filter
Filter class name
string|null $namespace
Filter class namespace
When the specified filter reader is illegal or does not exists
Returns the filtered reader specified by the parameters
public Sgss_File_Reader_Filter_Abstract filter (string $filter, [string|null $namespace = null])
Moves the pointer of the stream to the specified position in byte without reading the contents
int $position
Position in byte to which the pointer moves
When attempting to move the pointer position below the beggining of the stream, or beyond the end of stream
Moves the pointer of the stream to the specified position in byte without reading the contents
Moves the pointer of the stream to the specified position in byte without reading the contents
Moves the pointer of the stream to the specified position in byte without reading the contents
public int move (int $position)
Returns the current pointer position of the stream in byte
Returns the current pointer position of the stream in byte
Returns the current pointer position of the stream in byte
public int position ()
Returns the size of the stream in byte
Returns the size of the stream in byte
Returns the size of the stream in byte
public int size ()
Moves the pointer of the stream by the specified length of bytes without reading the contents
int $length
Length in byte by which the pointer moves
Moves the pointer of the stream by the specified length of bytes without reading the contents
Moves the pointer of the stream by the specified length of bytes without reading the contents
public int skip (int $length)