A CharacterStream implementation which stores characters in an internal array.
package | Swift |
---|---|
subpackage | CharacterStream |
author | Chris Corbyn |
__construct(\Swift_CharacterReaderFactory $factory, string $charset)
string
used in the stream
flushContents()
importByteStream(\Swift_OutputByteStream $os)
importString(string $string)
string
read(int $length) : string
int
string
readBytes(int $length) : int[]
int
int[]
setCharacterReaderFactory(\Swift_CharacterReaderFactory $factory)
\Swift_CharacterReaderFactory
setCharacterSet(string $charset)
string
setPointer(int $charOffset)
int
write(string $chars)
string
_initializeMaps()
_reloadBuffer($fp, $len)
$_array
$_array_size
$_byteMap
$_charMap
$_charReader
$_charReaderFactory
$_charset
$_offset