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_CharacterStream_ArrayCharacterStream
  • Swift_CharacterStream_NgCharacterStream

Interfaces

  • Swift_CharacterStream

Class Swift_CharacterStream_NgCharacterStream

A CharacterStream implementation which stores characters in an internal array.

Swift_CharacterStream_NgCharacterStream implements Swift_CharacterStream
Package: Swift\CharacterStream
Author: Xavier De Cock <xdecock@gmail.com>
Located at vendors/swiftmailer/lib/classes/Swift/CharacterStream/NgCharacterStream.php

Methods summary

public
# __construct( Swift_CharacterReaderFactory $factory, unknown_type $charset )

The constructor

The constructor

Parameters

$factory
Swift_CharacterReaderFactory
$factory
$charset
unknown_type
$charset
public
# setCharacterSet( string $charset )

Set the character set used in this CharacterStream.

Set the character set used in this CharacterStream.

Parameters

$charset
string
$charset

Implementation of

Swift_CharacterStream::setCharacterSet()
public
# setCharacterReaderFactory( Swift_CharacterReaderFactory $factory )

Set the CharacterReaderFactory for multi charset support.

Set the CharacterReaderFactory for multi charset support.

Parameters

$factory
Swift_CharacterReaderFactory
$factory

Implementation of

Swift_CharacterStream::setCharacterReaderFactory()
public
# flushContents( )

See

Swift_CharacterStream::flushContents()

Implementation of

Swift_CharacterStream::flushContents()
public
# importByteStream( Swift_OutputByteStream $os )

Parameters

$os
Swift_OutputByteStream
$os

See

Swift_CharacterStream::importByteStream()

Implementation of

Swift_CharacterStream::importByteStream()
public
# importString( string $string )

Parameters

$string
string
$string

See

Swift_CharacterStream::importString()

Implementation of

Swift_CharacterStream::importString()
public string
# read( integer $length )

Parameters

$length
integer
$length

Returns

string

See

Swift_CharacterStream::read()

Implementation of

Swift_CharacterStream::read()
public int[]
# readBytes( integer $length )

Parameters

$length
integer
$length

Returns

int[]

See

Swift_CharacterStream::readBytes()

Implementation of

Swift_CharacterStream::readBytes()
public
# setPointer( integer $charOffset )

Parameters

$charOffset
integer
$charOffset

See

Swift_CharacterStream::setPointer()

Implementation of

Swift_CharacterStream::setPointer()
public
# write( string $chars )

Parameters

$chars
string
$chars

See

Swift_CharacterStream::write()

Implementation of

Swift_CharacterStream::write()

Magic methods summary

Properties summary

private Swift_CharacterReader $_charReader
#

The char reader (lazy-loaded) for the current charset.

The char reader (lazy-loaded) for the current charset.

private Swift_CharacterReaderFactory $_charReaderFactory
#

A factory for creatiing CharacterReader instances.

A factory for creatiing CharacterReader instances.

private string $_charset
#

The character set this stream is using.

The character set this stream is using.

private string $_datas
#

The datas stored as is

The datas stored as is

private integer $_datasSize
#

Number of bytes in the stream

Number of bytes in the stream

private mixed $_map
#

Map

Map

private integer $_mapType
#

Map Type

Map Type

private integer $_charCount
#

Number of characters in the stream

Number of characters in the stream

private unknown_type $_currentPos
#

Position in the stream

Position in the stream

Blesta API documentation generated by ApiGen 2.8.0