[ Index ]

MailPress 7.2

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

title

Body

[close]

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

(no description)

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

Defines 1 class

Swift_CharacterReader:: (4 methods):
  getCharPositions()
  getMapType()
  validateByteSequence()
  getInitialByteSize()


Interface: Swift_CharacterReader  - X-Ref

Analyzes characters for a specific character set.

getCharPositions($string, $startOffset, &$currentMap, &$ignoredChars)   X-Ref
Returns the complete character map.

param: string $string
param: int    $startOffset
param: array  $currentMap
param: mixed  $ignoredChars
return: int

getMapType()   X-Ref
Returns the mapType, see constants.

return: int

validateByteSequence($bytes, $size)   X-Ref
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.

param: int[] $bytes
param: int   $size
return: int

getInitialByteSize()   X-Ref
Returns the number of bytes which should be read to start each character.

For fixed width character sets this should be the number of octets-per-character.
For multibyte character sets this will probably be 1.

return: int



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