Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Swift_CharacterReader_GenericFixedWidthReader
  • Swift_CharacterReader_UsAsciiReader
  • Swift_CharacterReader_Utf8Reader
  • Swift_CharacterReaderFactory_SimpleCharacterReaderFactory
  • Swift_Encoder_Base64Encoder
  • Swift_Encoder_QpEncoder
  • Swift_Encoder_Rfc2231Encoder
  • Swift_Encoding

Interfaces

  • Swift_CharacterReader
  • Swift_CharacterReaderFactory
  • Swift_Encoder
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class Swift_CharacterReader_GenericFixedWidthReader

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

Swift_CharacterReader_GenericFixedWidthReader implements Swift_CharacterReader
Package: Swift\Encoder
Author: Chris Corbyn
Author: Xavier De Cock xdecock@gmail.com
Located at classes/swiftmailer/lib/classes/Swift/CharacterReader/GenericFixedWidthReader.php
Methods summary
public
# __construct( integer $width )

Creates a new GenericFixedWidthReader using $width bytes per character.

Creates a new GenericFixedWidthReader using $width bytes per character.

Parameters

$width
public
# getCharPositions( string $string, integer $startOffset, array & $currentMap, mixed & $ignoredChars )

Returns the complete charactermap

Returns the complete charactermap

Parameters

$string
$startOffset
$currentMap
$ignoredChars

Returns


$int

Implementation of

Swift_CharacterReader::getCharPositions()
public integer
# getMapType( )

Returns mapType

Returns mapType

Returns

integer
mapType

Implementation of

Swift_CharacterReader::getMapType()
public integer
# validateByteSequence( string $bytes, $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.

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.

Parameters

$bytes
$size

Returns

integer

Implementation of

Swift_CharacterReader::validateByteSequence()
public integer
# getInitialByteSize( )

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

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

Returns

integer

Implementation of

Swift_CharacterReader::getInitialByteSize()
Constants inherited from Swift_CharacterReader
MAP_TYPE_FIXED_LEN, MAP_TYPE_INVALID, MAP_TYPE_POSITIONS
Properties summary
private integer $_width

The number of bytes in a single character.

The number of bytes in a single character.

#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen