Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • 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

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 vendors/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
integer
$width
public mixed
# getCharPositions( string $string, integer $startOffset, array & $currentMap, mixed & $ignoredChars )

Returns the complete charactermap

Returns the complete charactermap

Parameters

$string
string
$string
$startOffset
integer
$startOffset
$currentMap
array
$currentMap
$ignoredChars
mixed
$ignoredChars

Returns

mixed
$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, mixed $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
string
$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()

Magic methods summary

Constants summary

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.

Blesta API documentation generated by ApiGen 2.8.0