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

Class: Swift_CharacterReader_UsAsciiReader

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/CharacterReader/UsAsciiReader.php

Class Overview


Analyzes US-ASCII characters.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 16]
Analyzes US-ASCII characters.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


method getCharPositions [line 28]

int getCharPositions( string $string, int $startOffset, &$currentMap, &$ignoredChars, array $currentMap, string $ignoredChars)

Returns the complete character map.



Tags:

access:  public



Implementation of:
Swift_CharacterReader::getCharPositions()
Returns the complete character map.

Parameters:

string   $string  
int   $startOffset  
array   $currentMap  
string   $ignoredChars  
   &$currentMap  
   &$ignoredChars  

[ Top ]

method getInitialByteSize [line 80]

int getInitialByteSize( )

Returns the number of bytes which should be read to start each character.



Tags:

access:  public



Implementation of:
Swift_CharacterReader::getInitialByteSize()
Returns the number of bytes which should be read to start each character.
[ Top ]

method getMapType [line 47]

int getMapType( )

Returns mapType.



Tags:

return:  mapType
access:  public



Implementation of:
Swift_CharacterReader::getMapType()
Returns the mapType, see constants.
[ Top ]

method validateByteSequence [line 65]

int validateByteSequence( string $bytes, int $size)

Returns an integer which specifies how many more bytes to read.

A positive integer indicates the number of more bytes to fetch before invoking this method again. A value of zero means this is already a valid character. A value of -1 means this cannot possibly be a valid character.




Tags:

access:  public



Implementation of:
Swift_CharacterReader::validateByteSequence()
Returns an integer which specifies how many more bytes to read.

Parameters:

string   $bytes  
int   $size  

[ Top ]


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