« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for addBuffer (0.003 sec.)
EventBuffer::addBuffer — Move all data from a buffer provided to the current in... 13049
EventBuffer::addBuffer (PECL event >= 1.2.6-beta) EventBuffer::addBuffer — Move all data from a buffer provided to the current instance of EventBuffer 説明 public function EventBuffer::addBuffer ( EventBuffer $buf ): bool Move all data from ...
https://man.mtool.work/php/8.3/eventbuffer.addbuffer.html
EventBuffer::prependBuffer — Moves all data from source buffer to the front of ... 10874
EventBuffer::prependBuffer (PECL event >= 1.2.6-beta) EventBuffer::prependBuffer — Moves all data from source buffer to the front of current buffer 説明 public function EventBuffer::prependBuffer ( EventBuffer $buf ): bool Behaves as EventB ... uffer::addBuffer() , except that it moves data to the front of the buffer. パラメータ buf Source buffer. 戻り値 成功した場合に true を、失敗 ... した場合に false を返します。 参考 EventBuffer::add() - Append data to the end of an event buffer EventBuffer::addBuffer() - Move all data from a buffer provided to the current instance of EventBuffer EventBuffer::prepend() - Prepend data to t ...
https://man.mtool.work/php/8.3/eventbuffer.prependbuffer.html
EventBuffer::add — Append data to the end of an event buffer | PHP 8.3 8825
EventBuffer::add (PECL event >= 1.2.6-beta) EventBuffer::add — Append data to the end of an event buffer 説明 public function EventBuffer::add ( string $data ): bool Append data to the end of an event buffer. パラメータ data String to be ap ... pended to the end of the buffer. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBuffer::addBuffer() - Move all data from a buffer provided to the current instance of EventBuffer 他のマニュアルの関連ページ Linux JM fread( ...
https://man.mtool.work/php/8.3/eventbuffer.add.html
The EventBuffer class | PHP 8.3 8681
The EventBuffer class (PECL event >= 1.5.0) はじめに EventBuffer represents Libevent's "evbuffer", an utility functionality for buffered I/O. Event buffers are meant to be generally useful for doing the "buffer" part of buffered network I/O ... ength ; public readonly int $ contiguous_space ; /* メソッド */ public function add ( string $data ): bool public function addBuffer ( EventBuffer $buf ): bool public function appendFrom ( EventBuffer $buf , int $len ): int public function __construct () ... ytes(instead of setting absolute position). 目次 EventBuffer::add — Append data to the end of an event buffer EventBuffer::addBuffer — Move all data from a buffer provided to the current instance of EventBuffer EventBuffer::appendFrom — Moves the specifie ...
https://man.mtool.work/php/8.3/class.eventbuffer.html
EventBuffer::prepend — Prepend data to the front of the buffer | PHP 8.3 8681
EventBuffer::prepend (PECL event >= 1.2.6-beta) EventBuffer::prepend — Prepend data to the front of the buffer 説明 public function EventBuffer::prepend ( string $data ): bool Prepend data to the front of the buffer. パラメータ data String ... m source buffer to the front of current buffer EventBuffer::add() - Append data to the end of an event buffer EventBuffer::addBuffer() - Move all data from a buffer provided to the current instance of EventBuffer 他のマニュアルの関連ページ Linux JM fwrite ...
https://man.mtool.work/php/8.3/eventbuffer.prepend.html
EventListener::__construct — Creates new connection listener associated with an... 8681
EventListener::__construct (PECL event >= 1.2.6-beta) EventListener::__construct — Creates new connection listener associated with an event base 説明 public function EventListener::__construct ( EventBase $base , callable $cb , mixed $data ... Callback ( $bev , $ctx ) { // Copy all the data from the input buffer to the output buffer // Variant #1 $bev -> output -> addBuffer ( $bev -> input ); /* Variant #2 */ /* $input = $bev->getInput(); $output = $bev->getOutput(); $output->addBuffer($input); ...
https://man.mtool.work/php/8.3/eventlistener.construct.html
例 | PHP 8.3 7819
例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ... Callback ( $bev , $ctx ) { // Copy all the data from the input buffer to the output buffer // Variant #1 $bev -> output -> addBuffer ( $bev -> input ); /* Variant #2 */ /* $input = $bev->getInput(); $output = $bev->getOutput(); $output->addBuffer($input); ... ction echoReadCallback ( $bev , $ctx ) { // Copy all the data from the input buffer to the output buffer $bev -> output -> addBuffer ( $bev -> input ); } public function echoEventCallback ( $bev , $events , $ctx ) { if ( $events & EventBufferEvent :: ERRO ...
https://man.mtool.work/php/8.3/event.examples.html
Event | PHP 8.3 7387
Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind ... ching events EventBuffer — The EventBuffer class EventBuffer::add — Append data to the end of an event buffer EventBuffer::addBuffer — Move all data from a buffer provided to the current instance of EventBuffer EventBuffer::appendFrom — Moves the specifie ...
https://man.mtool.work/php/8.3/book.event.html
関数・メソッド | PHP 8.3 6794
関数・メソッド マニュアル内の全関数およびメソッドの一覧 a b c d e f g h i j k l m n o p q r s t u v w x y z _ a abs - 絶対値 acos - 逆余弦(アークコサイン) acosh - 逆双曲線余弦(アークハイパボリックコサイン) addcslashes - C 言語と同様にス ... tBase::__construct - Constructs EventBase object EventBuffer::add - Append data to the end of an event buffer EventBuffer::addBuffer - Move all data from a buffer provided to the current instance of EventBuffer EventBuffer::appendFrom - Moves the specifie ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT