EventBuffer::substr
(PECL event >= 1.6.0)
EventBuffer::substr — Subtracts a portion of the buffer data
Description
Subtracts up to
length
bytes of the buffer data beginning at
start
position.
Parameters
start
The start position of data to be subtracted.
length
Maximum number of bytes to subtract.
See Also
- EventBuffer::read() - Read data from an evbuffer and drain the bytes read
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
