[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ -> CharacterStream.php (summary)

(no description)

File Size: 87 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_CharacterStream:: (9 methods):
  setCharacterSet()
  setCharacterReaderFactory()
  importByteStream()
  importString()
  read()
  readBytes()
  write()
  setPointer()
  flushContents()


Interface: Swift_CharacterStream  - X-Ref

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.

setCharacterSet($charset)   X-Ref
Set the character set used in this CharacterStream.

param: string $charset

setCharacterReaderFactory(Swift_CharacterReaderFactory $factory)   X-Ref
Set the CharacterReaderFactory for multi charset support.


importByteStream(Swift_OutputByteStream $os)   X-Ref
Overwrite this character stream using the byte sequence in the byte stream.

param: Swift_OutputByteStream $os output stream to read from

importString($string)   X-Ref
Import a string a bytes into this CharacterStream, overwriting any existing
data in the stream.

param: string $string

read($length)   X-Ref
Read $length characters from the stream and move the internal pointer
$length further into the stream.

param: int $length
return: string

readBytes($length)   X-Ref
Read $length characters from the stream and return a 1-dimensional array
containing there octet values.

param: int $length
return: int[]

write($chars)   X-Ref
Write $chars to the end of the stream.

param: string $chars

setPointer($charOffset)   X-Ref
Move the internal pointer to $charOffset in the stream.

param: int $charOffset

flushContents()   X-Ref
Empty the stream and reset the internal pointer.




Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1