[ Index ]

MailPress 544

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

title

Body

[close]

/mp-includes/Swiftmailer/classes/Swift/CharacterReader/ -> GenericFixedWidthReader.php (summary)

(no description)

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

Defines 1 class

Swift_CharacterReader_GenericFixedWidthReader:: (5 methods):
  __construct()
  getCharPositions()
  getMapType()
  validateByteSequence()
  getInitialByteSize()


Class: Swift_CharacterReader_GenericFixedWidthReader  - X-Ref

Provides fixed-width byte sizes for reading fixed-width character sets.

__construct($width)   X-Ref
Creates a new GenericFixedWidthReader using $width bytes per character.

param: int $width

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.

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: string $bytes
param: int    $size
return: int

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

return: int



Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1