Source

pecl-event / tests / 08-buffer.phpt

Author Commit Message Labels Comments Date
Ruslan Osmanov
Renamed EventBuffer::remove to EventBuffer::read, EventBuffer::read now takes only max_bytes argument and returns string.
Ruslan Osmanov
Add: EventBuffer::substr
Ruslan Osmanov
Refact: automatically set the upper bound of EventBuffer::search to the buffer length, if it is greater then the length
Ruslan Osmanov
Fix: EventBuffer::removeBuffer returned boolean instead of the number of bytes read