EventBuffer::prependBuffer
(PECL event >= 1.2.6-beta)
EventBuffer::prependBuffer — Moves all data from source buffer to the front of current buffer
Descripción
Behaves as EventBuffer::addBuffer() , except that it moves data to the front of the buffer.
Parámetros
-
buf -
Source buffer.
Valores devueltos
Returns TRUE on success. Otherwise FALSE.
Ver también
- EventBuffer::add() - Añade datos al final de un buffer de eventos
- EventBuffer::addBuffer() - Mueve todos los datos de un buffer a la instancia actual de EventBuffer
- EventBuffer::prepend() - Prepend data to the front of the buffer