Documentation

Swift_StreamFilter

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

Tags
author

Chris Corbyn

Table of Contents

filter()  : mixed
Filters $buffer and returns the changes.
shouldBuffer()  : bool
Based on the buffer given, this returns true if more buffering is needed.

Methods

filter()

Filters $buffer and returns the changes.

public filter(mixed $buffer) : mixed
Parameters
$buffer : mixed
Return values
mixed

shouldBuffer()

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

public shouldBuffer(mixed $buffer) : bool
Parameters
$buffer : mixed
Return values
bool

Search results