[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/StreamFilters/ -> ByteArrayReplacementFilter.php (summary)

(no description)

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

Defines 1 class

Swift_StreamFilters_ByteArrayReplacementFilter:: (3 methods):
  __construct()
  shouldBuffer()
  filter()


Class: Swift_StreamFilters_ByteArrayReplacementFilter  - X-Ref

Processes bytes as they pass through a buffer and replaces sequences in it.

This stream filter deals with Byte arrays rather than simple strings.

__construct($search, $replace)   X-Ref
Create a new ByteArrayReplacementFilter with $search and $replace.

param: array $search
param: array $replace

shouldBuffer($buffer)   X-Ref
Returns true if based on the buffer passed more bytes should be buffered.

param: array $buffer
return: bool

filter($buffer, $minReplaces = -1)   X-Ref
Perform the actual replacements on $buffer and return the result.

param: array $buffer
param: int   $minReplaces
return: array



Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1