Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_CharacterStream_NgCharacterStream

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/CharacterStream/NgCharacterStream.php

Class Overview


A CharacterStream implementation which stores characters in an internal array.


Author(s):

Implements interfaces:

Methods



Class Details

[line 16]
A CharacterStream implementation which stores characters in an internal array.



Tags:

author:  Xavier De Cock <xdecock@gmail.com>


[ Top ]


Class Methods


constructor __construct [line 87]

Swift_CharacterStream_NgCharacterStream __construct( Swift_CharacterReaderFactory $factory, string $charset)

Constructor.



Tags:

access:  public


Parameters:

Swift_CharacterReaderFactory   $factory  
string   $charset  

[ Top ]

method flushContents [line 120]

void flushContents( )



Tags:

see:  Swift_CharacterStream::flushContents()
access:  public



Implementation of:
Swift_CharacterStream::flushContents()
Empty the stream and reset the internal pointer.
[ Top ]

method importByteStream [line 134]

void importByteStream( Swift_OutputByteStream $os)



Tags:

see:  Swift_CharacterStream::importByteStream()
access:  public



Implementation of:
Swift_CharacterStream::importByteStream()
Overwrite this character stream using the byte sequence in the byte stream.

Parameters:


[ Top ]

method importString [line 149]

void importString( string $string)



Tags:

see:  Swift_CharacterStream::importString()
access:  public



Implementation of:
Swift_CharacterStream::importString()
Import a string a bytes into this CharacterStream, overwriting any existing data in the stream.

Parameters:

string   $string  

[ Top ]

method read [line 162]

string read( int $length)



Tags:

see:  Swift_CharacterStream::read()
access:  public



Implementation of:
Swift_CharacterStream::read()
Read $length characters from the stream and move the internal pointer $length further into the stream.

Parameters:

int   $length  

[ Top ]

method readBytes [line 220]

int[] readBytes( int $length)



Tags:

see:  Swift_CharacterStream::readBytes()
access:  public



Implementation of:
Swift_CharacterStream::readBytes()
Read $length characters from the stream and return a 1-dimensional array containing there octet values.

Parameters:

int   $length  

[ Top ]

method setCharacterReaderFactory [line 112]

void setCharacterReaderFactory( Swift_CharacterReaderFactory $factory)

Set the CharacterReaderFactory for multi charset support.



Tags:

access:  public



Implementation of:
Swift_CharacterStream::setCharacterReaderFactory()
Set the CharacterReaderFactory for multi charset support.

Parameters:

Swift_CharacterReaderFactory   $factory  

[ Top ]

method setCharacterSet [line 100]

void setCharacterSet( string $charset)

Set the character set used in this CharacterStream.



Tags:

access:  public



Implementation of:
Swift_CharacterStream::setCharacterSet()
Set the character set used in this CharacterStream.

Parameters:

string   $charset  

[ Top ]

method setPointer [line 237]

void setPointer( int $charOffset)



Tags:

see:  Swift_CharacterStream::setPointer()
access:  public



Implementation of:
Swift_CharacterStream::setPointer()
Move the internal pointer to $charOffset in the stream.

Parameters:

int   $charOffset  

[ Top ]

method write [line 250]

void write( string $chars)



Tags:

see:  Swift_CharacterStream::write()
access:  public



Implementation of:
Swift_CharacterStream::write()
Write $chars to the end of the stream.

Parameters:

string   $chars  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:52:52 +0000 by phpDocumentor 1.4.3