Interface Swift_StreamFilter
Implemented by | Swift_StreamFilters_ByteArrayReplacementFilter, Swift_StreamFilters_StringReplacementFilter |
---|
Processes bytes as they pass through a stream and performs filtering.
Public Methods
Method | Description | Defined 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
Filters $buffer and returns the changes.
public abstract mixed filter ( $buffer ) | ||
$buffer | mixed |
Based on the buffer given, this returns true if more buffering is needed.
public abstract bool shouldBuffer ( $buffer ) | ||
$buffer | mixed |