![]() |
TYPO3
7.6
|
Public Member Functions | |
| __construct (Swift_CharacterReaderFactory $factory, $charset) | |
| setCharacterSet ($charset) | |
| setCharacterReaderFactory (Swift_CharacterReaderFactory $factory) | |
| flushContents () | |
| importByteStream (Swift_OutputByteStream $os) | |
| importString ($string) | |
| read ($length) | |
| readBytes ($length) | |
| setPointer ($charOffset) | |
| write ($chars) | |
Private Attributes | |
| $_charReader | |
| $_charReaderFactory | |
| $_charset | |
| $_datas = '' | |
| $_datasSize = 0 | |
| $_map | |
| $_mapType = 0 | |
| $_charCount = 0 | |
| $_currentPos = 0 | |
A CharacterStream implementation which stores characters in an internal array.
Definition at line 16 of file NgCharacterStream.php.
| __construct | ( | Swift_CharacterReaderFactory | $factory, |
| $charset | |||
| ) |
Constructor.
| Swift_CharacterReaderFactory | $factory | |
| string | $charset |
Definition at line 87 of file NgCharacterStream.php.
References setCharacterReaderFactory(), and setCharacterSet().
| flushContents | ( | ) |
Implements Swift_CharacterStream.
Definition at line 120 of file NgCharacterStream.php.
Referenced by importByteStream(), and importString().
| importByteStream | ( | Swift_OutputByteStream | $os | ) |
| Swift_OutputByteStream | $os |
Implements Swift_CharacterStream.
Definition at line 134 of file NgCharacterStream.php.
References flushContents(), Swift_OutputByteStream\read(), Swift_OutputByteStream\setReadPointer(), and write().
| importString | ( | $string | ) |
| string | $string |
Implements Swift_CharacterStream.
Definition at line 149 of file NgCharacterStream.php.
References flushContents(), and write().
| read | ( | $length | ) |
| int | $length |
Implements Swift_CharacterStream.
Definition at line 162 of file NgCharacterStream.php.
References $_charCount, $_currentPos, $_map, Swift_CharacterReader\MAP_TYPE_FIXED_LEN, Swift_CharacterReader\MAP_TYPE_INVALID, and Swift_CharacterReader\MAP_TYPE_POSITIONS.
Referenced by readBytes().
| readBytes | ( | $length | ) |
| int | $length |
Implements Swift_CharacterStream.
Definition at line 228 of file NgCharacterStream.php.
References read().
| setCharacterReaderFactory | ( | Swift_CharacterReaderFactory | $factory | ) |
Set the CharacterReaderFactory for multi charset support.
| Swift_CharacterReaderFactory | $factory |
Implements Swift_CharacterStream.
Definition at line 112 of file NgCharacterStream.php.
Referenced by __construct().
| setCharacterSet | ( | $charset | ) |
Set the character set used in this CharacterStream.
| string | $charset |
Implements Swift_CharacterStream.
Definition at line 100 of file NgCharacterStream.php.
Referenced by __construct().
| setPointer | ( | $charOffset | ) |
| int | $charOffset |
Implements Swift_CharacterStream.
Definition at line 245 of file NgCharacterStream.php.
References $_charCount.
| write | ( | $chars | ) |
| string | $chars |
Implements Swift_CharacterStream.
Definition at line 258 of file NgCharacterStream.php.
Referenced by importByteStream(), and importString().
|
private |
Definition at line 72 of file NgCharacterStream.php.
Referenced by read(), and setPointer().
|
private |
Definition at line 23 of file NgCharacterStream.php.
|
private |
Definition at line 30 of file NgCharacterStream.php.
|
private |
Definition at line 37 of file NgCharacterStream.php.
|
private |
Definition at line 79 of file NgCharacterStream.php.
Referenced by read().
|
private |
Definition at line 44 of file NgCharacterStream.php.
|
private |
Definition at line 51 of file NgCharacterStream.php.
|
private |
Definition at line 58 of file NgCharacterStream.php.
Referenced by read().
|
private |
Definition at line 65 of file NgCharacterStream.php.
1.8.3