Interface Swift_StreamFilter

Implemented bySwift_StreamFilters_ByteArrayReplacementFilter, Swift_StreamFilters_StringReplacementFilter

Processes bytes as they pass through a stream and performs filtering.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
filter() Filters $buffer and returns the changes. Swift_StreamFilter
shouldBuffer() Based on the buffer given, this returns true if more buffering is needed. Swift_StreamFilter

Method Details

filter() public abstract method

Filters $buffer and returns the changes.

public abstract mixed filter ( $buffer )
$buffer mixed
shouldBuffer() public abstract method

Based on the buffer given, this returns true if more buffering is needed.

public abstract bool shouldBuffer ( $buffer )
$buffer mixed