XOOPS RMCommon Utilities
2.1.8.91RC
|
Go to the source code of this file.
Namespaces | |
namespace | Swift |
Functions | |
__construct (Swift_CharacterReaderFactory $factory, $charset) | |
flushContents () | |
importByteStream (Swift_OutputByteStream $os) | |
importString ($string) | |
read ($length) | |
readBytes ($length) | |
setCharacterReaderFactory (Swift_CharacterReaderFactory $factory) | |
setCharacterSet ($charset) | |
setPointer ($charOffset) | |
write ($chars) | |
Variables | |
$_charCount = 0 | |
$_charReaderFactory | |
$_charset | |
$_currentPos = 0 | |
$_datas = "" | |
$_datasSize = 0 | |
$_map | |
$_mapType = 0 | |
Class Swift_CharacterStream_NgCharacterStream implements | Swift_CharacterStream |
__construct | ( | Swift_CharacterReaderFactory | $factory, |
$charset | |||
) |
The constructor
Swift_CharacterReaderFactory | $factory | |
unknown_type | $charset |
Definition at line 105 of file NgCharacterStream.php.
References setCharacterReaderFactory(), and setCharacterSet().
Referenced by Swift_SwiftException\__construct(), Swift_DependencyException\__construct(), Swift_IoException\__construct(), Swift_RfcComplianceException\__construct(), Swift_TransportException\__construct(), Swift_Plugins_Pop_Pop3Exception\__construct(), Swift_Mime_HeaderEncoder_QpHeaderEncoder\__construct(), Swift_Image\__construct(), Swift_Mime_ContentEncoder_QpContentEncoder\__construct(), Swift_Transport_FailoverTransport\__construct(), Swift_Mime_EmbeddedFile\__construct(), Swift_Events_TransportExceptionEvent\__construct(), Swift_Mime_SimpleMessage\__construct(), Swift_Mime_Attachment\__construct(), Swift_Events_ResponseEvent\__construct(), Swift_Events_CommandEvent\__construct(), Swift_Mime_MimePart\__construct(), Swift_Transport_SendmailTransport\__construct(), Swift_Events_SendEvent\__construct(), and Swift_Transport_EsmtpTransport\__construct().
flushContents | ( | ) |
Definition at line 139 of file NgCharacterStream.php.
Referenced by importByteStream(), and importString().
importByteStream | ( | Swift_OutputByteStream | $os | ) |
Swift_OutputByteStream | $os |
Definition at line 153 of file NgCharacterStream.php.
References flushContents(), Swift_OutputByteStream\read(), Swift_OutputByteStream\setReadPointer(), and write().
importString | ( | $string | ) |
string | $string |
Definition at line 167 of file NgCharacterStream.php.
References flushContents(), and write().
read | ( | $length | ) |
int | $length |
Definition at line 179 of file NgCharacterStream.php.
References $_charCount, $_currentPos, $_map, $ret, $start, Swift_CharacterReader\MAP_TYPE_FIXED_LEN, Swift_CharacterReader\MAP_TYPE_INVALID, and Swift_CharacterReader\MAP_TYPE_POSITIONS.
Referenced by readBytes().
readBytes | ( | $length | ) |
int | $length |
Definition at line 251 of file NgCharacterStream.php.
setCharacterReaderFactory | ( | Swift_CharacterReaderFactory | $factory | ) |
Set the CharacterReaderFactory for multi charset support.
Swift_CharacterReaderFactory | $factory |
Definition at line 129 of file NgCharacterStream.php.
Referenced by __construct().
setCharacterSet | ( | $charset | ) |
Set the character set used in this CharacterStream.
string | $charset |
Definition at line 118 of file NgCharacterStream.php.
Referenced by __construct().
setPointer | ( | $charOffset | ) |
int | $charOffset |
Definition at line 267 of file NgCharacterStream.php.
References $_charCount.
write | ( | $chars | ) |
string | $chars |
Definition at line 280 of file NgCharacterStream.php.
Referenced by importByteStream(), and importString().
$_charCount = 0 |
Definition at line 90 of file NgCharacterStream.php.
Referenced by read(), and setPointer().
$_charReaderFactory |
Definition at line 48 of file NgCharacterStream.php.
$_charset |
Definition at line 55 of file NgCharacterStream.php.
$_currentPos = 0 |
Definition at line 97 of file NgCharacterStream.php.
Referenced by read().
$_datas = "" |
Definition at line 62 of file NgCharacterStream.php.
$_datasSize = 0 |
Definition at line 69 of file NgCharacterStream.php.
$_map |
Definition at line 76 of file NgCharacterStream.php.
Referenced by read().
$_mapType = 0 |
Definition at line 83 of file NgCharacterStream.php.
Swift_Encoder_Rfc2231Encoder::Swift_CharacterStream |
The CharacterStream used for reading characters (as opposed to bytes).
protected
A character stream to use when reading a string as characters instead of bytes.
private
Definition at line 34 of file NgCharacterStream.php.