[ Index ]

MailPress 544

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

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/CharacterStream/ -> ArrayCharacterStream.php (summary)

(no description)

File Size: 293 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.

param: Swift_CharacterReaderFactory $factory

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: integer[]

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: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1