EventBuffer::add

(PECL event >= 1.2.6-beta)

EventBuffer::addAppend data to the end of an event buffer

说明

public EventBuffer::add ( string $data ) : bool

Append data to the end of an event buffer.

参数

data

String to be appended to the end of the buffer.

返回值

Returns TRUE on success. Otherwise FALSE.

参见

相关文章
php domcharacterdata append the string to the end of the character data of the nodephp eventbuffer append data to the end of an event bufferphp eventbuffer move all data from a buffer provided to the current instance of eventbufferphp eventbuffer moves the specified number of bytes from a source buffer to the end of the current bufferphp eventbuffer prevent calls that modify an event buffer from succeedingphp eventbuffer prepend data to the front of the bufferphp eventbuffer moves all data from source buffer to the front of current bufferphp eventbuffer linearizes data within buffer and returns it s contents as a stringphp eventbuffer read data from a file onto the end of the bufferphp eventbuffer scans the buffer for an occurrence of an end of linephp eventbuffer substracts a portion of the buffer dataphp eventbuffer re enable calls that modify an event bufferphp eventbufferevent disable events read write or both on a buffer eventphp eventbufferevent create a new ssl buffer event to send its data over another buffer eventphp eventbufferevent creates a new ssl buffer event to send its data over an ssl on a socketphp eventbufferevent adds data to a buffer event s output bufferphp libevent 函数 write data to a buffered eventphp ps 函数 fetches the full buffer containig the generated ps dataphp swoole buffer append the string or binary data at the end of the memory buffer and return the new size of memory allocated.php swoole buffer read data from the memory buffer based on offset and length.
关注编程学问公众号