WorksWithBuffers
Provides common methods to work with buffers.
Table of Contents
- pop() : string
- Pops the first $limit bytes from the given buffer and returns them.
Methods
pop()
Pops the first $limit bytes from the given buffer and returns them.
protected
pop(string &$buffer, int $limit) : string
Parameters
- $buffer : string
- $limit : int