Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($string) | |
__destruct () | |
readBytes ($byteCount) | |
readAllBytes () | |
__toString () | |
![]() | |
__destruct () | |
readBytes ($byteCount) | |
readAllBytes () | |
__toString () | |
getOffset () | |
getSize () | |
moveToOffset ($offset) | |
skipBytes ($byteCount) | |
Protected Attributes | |
$_string = '' | |
![]() | |
$_size = 0 | |
$_offset = 0 | |
Definition at line 35 of file String.php.
__construct | ( | $string | ) |
Object constructor.
Verifies that the string is not empty.
string | $string | String to parse. |
Definition at line 60 of file String.php.
__destruct | ( | ) |
__toString | ( | ) |
Returns a string containing the parsed string's length.
Definition at line 124 of file String.php.
readAllBytes | ( | ) |
Returns the entire string.
Preserves the current read position.
Definition at line 111 of file String.php.
readBytes | ( | $byteCount | ) |
Returns the specified number of raw bytes from the string at the byte offset of the current read position.
Advances the read position by the number of bytes read.
Throws an exception if there is insufficient data to completely fulfill the request.
integer | $byteCount | Number of bytes to read. |
Zend_Pdf_Exception |
Definition at line 92 of file String.php.
|
protected |
Definition at line 44 of file String.php.