略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: event_buffer_write

2024-12-23

event_buffer_write

(PECL libevent >= 0.0.1)

event_buffer_writeWrite data to a buffered event

说明

event_buffer_write ( resource $bevent , string $data [, int $data_size = -1 ] ) : bool

Writes data to the specified buffered event. The data is appended to the output buffer and written to the descriptor when it becomes available for writing.

参数

bevent

Valid buffered event resource.

data

The data to be written.

data_size

Optional size parameter. event_buffer_write() writes all the data by default.

返回值

event_buffer_write() returns TRUE on success or FALSE on error.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.event-buffer-write.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3