__construct() __construct(array $search, array $replace) Create a new ByteArrayReplacementFilter with $search and $replace Parameters array $search array $replace
shouldBuffer() shouldBuffer(array $buffer) : boolean Returns true if based on the buffer passed more bytes should be buffered Parameters array $buffer Returns boolean
filter() filter(array $buffer, integer $minReplaces = -1) : array Perform the actual replacements on $buffer and return the result Parameters array $buffer integer $minReplaces Returns array