(PECL event >= 1.2.6-beta)
EventBuffer::setPosition — Manipulates the position pos within buffer
Manipulates the position pos within buffer. If
how
is
EventBuffer::PTR_SET
, the pointer is moved to an absolute position position within the buffer.
If it is
EventBuffer::PTR_ADD
, the pointer moves position bytes forward.
pos
Destination instance of EventBufferPosition
value
The number of bytes(position).
how
EventBuffer::PTR_ADD
or
EventBuffer::PTR_SET
.
Returns TRUE on success. Otherwise FALSE.