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

Interfaces

  • Swift_CharacterStream
  • Overview
  • Package
  • Class
  • Todo
  • Download

Interface Swift_CharacterStream

An abstract means of reading and writing data in terms of characters as opposed to bytes. Classes implementing this interface may use a subsystem which requires less memory than working with large strings of data.

Direct known implementers

Swift_CharacterStream_ArrayCharacterStream, Swift_CharacterStream_NgCharacterStream
Package: Swift\CharacterStream
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/CharacterStream.php
Methods summary
public
# setCharacterSet( string $charset )

Set the character set used in this CharacterStream.

Set the character set used in this CharacterStream.

Parameters

$charset
public
# setCharacterReaderFactory( Swift_CharacterReaderFactory $factory )

Set the CharacterReaderFactory for multi charset support.

Set the CharacterReaderFactory for multi charset support.

Parameters

$factory
public
# importByteStream( Swift_OutputByteStream $os )

Overwrite this character stream using the byte sequence in the byte stream.

Overwrite this character stream using the byte sequence in the byte stream.

Parameters

$os
output stream to read from
public
# importString( string $string )

Import a string a bytes into this CharacterStream, overwriting any existing data in the stream.

Import a string a bytes into this CharacterStream, overwriting any existing data in the stream.

Parameters

$string
public string
# read( integer $length )

Read $length characters from the stream and move the internal pointer $length further into the stream.

Read $length characters from the stream and move the internal pointer $length further into the stream.

Parameters

$length

Returns

string
public int[]
# readBytes( integer $length )

Read $length characters from the stream and return a 1-dimensional array containing there octet values.

Read $length characters from the stream and return a 1-dimensional array containing there octet values.

Parameters

$length

Returns

int[]
public
# write( string $chars )

Write $chars to the end of the stream.

Write $chars to the end of the stream.

Parameters

$chars
public
# setPointer( integer $charOffset )

Move the internal pointer to $charOffset in the stream.

Move the internal pointer to $charOffset in the stream.

Parameters

$charOffset
public
# flushContents( )

Empty the stream and reset the internal pointer.

Empty the stream and reset the internal pointer.

CMS CONTENIDO 4.9.7 API documentation generated by ApiGen