EventBuffer::freeze

(PECL event >= 1.2.6-beta)

EventBuffer::freezePrevent calls that modify an event buffer from succeeding

说明

public EventBuffer::freeze ( bool $at_front ) : bool

Prevent calls that modify an event buffer from succeeding

参数

at_front

Whether to disable changes to the front or end of the buffer.

返回值

Returns TRUE on success. Otherwise FALSE.

参见

相关文章
php 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 copies out specified number of bytes from the front of the bufferphp eventbuffer removes specified number of bytes from the front of the buffer without copying it anywherephp eventbuffer prevent calls that modify an event buffer from succeedingphp 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 an evbuffer and drain the bytes readphp eventbuffer read data from a file onto the end of the bufferphp eventbuffer extracts a line from the front of the bufferphp eventbuffer re enable calls that modify an event bufferphp eventbufferevent disable events read write or both on a buffer eventphp eventbufferevent enable events read write or both on a buffer eventphp eventbufferevent free a buffer eventphp eventbufferevent creates a new ssl buffer event to send its data over an ssl on a socketphp dbx 函数 fetches rows from a query result that had the dbx result unbuffered flag setphp libevent 函数 remove an event from the set of monitored eventsphp iteratoriterator create an iterator from anything that is traversablephp swoole buffer read data from the memory buffer based on offset and length. or remove data from the memory buffer.
关注编程学问公众号