Definition at line 35 of file Binary.php.
◆ escape()
Escape string according to the PDF rules
- Parameters
-
- Returns
- string
Definition at line 51 of file Binary.php.
53 return strtoupper(bin2hex($inStr));
◆ toString()
toString |
( |
|
$factory = null | ) |
|
Return object as string
- Parameters
-
- Returns
- string
Definition at line 94 of file Binary.php.
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
◆ unescape()
static unescape |
( |
|
$inStr | ) |
|
|
static |
Unescape string according to the PDF rules
- Parameters
-
- Returns
- string
Definition at line 63 of file Binary.php.
68 while ($offset < strlen($inStr)) {
71 $offset += strspn($inStr,
"0123456789abcdefABCDEF", $offset);
73 $length += strlen(end($chunks));
76 $offset += strcspn($inStr,
"0123456789abcdefABCDEF", $offset);
78 if ($length % 2 != 0) {
84 return pack(
'H*' , implode($chunks));
◆ $value
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Pdf/Element/String/Binary.php