Sgss_File_Reader_Abstract
+ Sgss_File_Reader_String
|
$_string
String to read |
|
__construct (string $string)
The constructor |
boolean |
close ()
Unsets the string |
string |
read ([int $length = 1], int $lengthw)
Reads the contents and moves the pointer of the string by the specified length of bytes |
string |
readAll ()
Returns the string being readed |
int |
reset ()
Moves the pointer of the string to the first |
String to read
protected string $_string
The constructor
string $string
String to read
public __construct (string $string)
Unsets the string
public boolean close ()
Reads the contents and moves the pointer of the string by the specified length of bytes
int $lengthw
Length in byte to read
$length
When attempting to read beyond the end of string
public string read ([int $length = 1], int $lengthw)
Returns the string being readed
public string readAll ()
Moves the pointer of the string to the first
public int reset ()