An abstract means of reading and writing data in terms of characters as opposed to bytes.
Classes implementing this interface may use a subsystem which requires less memory than working with large strings of data.
package | Swift |
---|---|
subpackage | CharacterStream |
author | Chris Corbyn |
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