[ Index ]

MailPress 7.2

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

title

Body

[close]

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

(no description)

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

Defines 1 class

Swift_CharacterStream_ArrayCharacterStream:: (12 methods):
  __construct()
  setCharacterSet()
  setCharacterReaderFactory()
  importByteStream()
  importString()
  read()
  readBytes()
  write()
  setPointer()
  flushContents()
  reloadBuffer()
  initializeMaps()


Class: Swift_CharacterStream_ArrayCharacterStream  - X-Ref

A CharacterStream implementation which stores characters in an internal array.

__construct(Swift_CharacterReaderFactory $factory, $charset)   X-Ref
Create a new CharacterStream with the given $chars, if set.

param: Swift_CharacterReaderFactory $factory for loading validators
param: string                       $charset used in the stream

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.


reloadBuffer($fp, $len)   X-Ref
No description

initializeMaps()   X-Ref
No description



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