« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 10 for pullup (0.004 sec.)
EventBuffer::pullup — Linearizes data within buffer and returns its contents as... 14069
EventBuffer::pullup (PECL event >= 1.2.6-beta) EventBuffer::pullup — Linearizes data within buffer and returns its contents as a string 説明 public function EventBuffer::pullup ( int $size ): string "Linearizes" the first size bytes of the ... upying the same chunk of memory. If size is negative, the function linearizes the entire buffer. 警告 Calling EventBuffer::pullup() with a large size can be quite slow, since it potentially needs to copy the entire buffer's contents. パラメータ size Th ... fer. 戻り値 If size is greater than the number of bytes in the buffer, the function returns null . Otherwise, EventBuffer::pullup() returns string. 参考 EventBuffer::copyout() - Copies out specified number of bytes from the front of the buffer EventBuf ...
https://man.mtool.work/php/8.3/eventbuffer.pullup.html
The EventBuffer class | PHP 8.3 8938
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 ... id public function prepend ( string $data ): bool public function prependBuffer ( EventBuffer $buf ): bool public function pullup ( int $size ): string public function read ( int $max_bytes ): string public function read ( mixed $fd , int $howmuch ): i ... t of the buffer EventBuffer::prependBuffer — Moves all data from source buffer to the front of current buffer EventBuffer::pullup — Linearizes data within buffer and returns its contents as a string EventBuffer::read — Read data from an evbuffer and dr ...
https://man.mtool.work/php/8.3/class.eventbuffer.html
EventBuffer::readFrom — Read data from a file onto the end of the buffer | PHP ... 8831
EventBuffer::readFrom (PECL event >= 1.7.0) EventBuffer::readFrom — Read data from a file onto the end of the buffer 説明 public function EventBuffer::read ( mixed $fd , int $howmuch ): int Read data from the file specified by fd onto the e ... tBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup() - Linearizes data within buffer and returns its contents as a string EventBuffer::readLine() - Extracts a line from the ...
https://man.mtool.work/php/8.3/eventbuffer.readfrom.html
EventBuffer::readLine — Extracts a line from the front of the buffer | PHP 8.3 8831
EventBuffer::readLine (PECL event >= 1.2.6-beta) EventBuffer::readLine — Extracts a line from the front of the buffer 説明 public function EventBuffer::readLine ( int $eol_style ): string Extracts a line from the front of the buffer and ret ... tBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup() - Linearizes data within buffer and returns its contents as a string EventBuffer::read() - Read data from an evbuffer an ...
https://man.mtool.work/php/8.3/eventbuffer.readline.html
EventBuffer::appendFrom — Moves the specified number of bytes from a source buf... 8724
EventBuffer::appendFrom (PECL event >= 1.6.0) EventBuffer::appendFrom — Moves the specified number of bytes from a source buffer to the end of the current buffer 説明 public function EventBuffer::appendFrom ( EventBuffer $buf , int $len ): ... tBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup() - Linearizes data within buffer and returns its contents as a string EventBuffer::readLine() - Extracts a line from the ...
https://man.mtool.work/php/8.3/eventbuffer.appendfrom.html
EventBuffer::read — Read data from an evbuffer and drain the bytes read | PHP 8... 8724
EventBuffer::read (PECL event >= 1.6.0) EventBuffer::read — Read data from an evbuffer and drain the bytes read 説明 public function EventBuffer::read ( int $max_bytes ): string Read the first max_bytes from the buffer and drain the bytes r ... tBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup() - Linearizes data within buffer and returns its contents as a string EventBuffer::readLine() - Extracts a line from the ...
https://man.mtool.work/php/8.3/eventbuffer.read.html
EventBufferEvent::connect — Connect buffer event's file descriptor to given add... 8062
EventBufferEvent::connect (PECL event >= 1.2.6-beta) EventBufferEvent::connect — Connect buffer event's file descriptor to given address or UNIX socket 説明 public function EventBufferEvent::connect ( string $addr ): bool Connect buffer eve ... eived %ld bytes\n" , $in -> length ); printf ( "----- data ----\n" ); printf ( "%ld:\t%s\n" , (int) $in -> length , $in -> pullup (- 1 )); $this -> bev -> free (); $this -> bev = NULL ; $this -> base -> exit ( NULL ); } function event_cb ( $bev , $even ...
https://man.mtool.work/php/8.3/eventbufferevent.connect.html
Event | PHP 8.3 7955
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 ... t of the buffer EventBuffer::prependBuffer — Moves all data from source buffer to the front of current buffer EventBuffer::pullup — Linearizes data within buffer and returns its contents as a string EventBuffer::read — Read data from an evbuffer and dr ...
https://man.mtool.work/php/8.3/book.event.html
例 | PHP 8.3 7633
例 例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 ... eived %zu bytes\n" , $in -> length ); printf ( "----- data ----\n" ); printf ( "%ld:\t%s\n" , (int) $in -> length , $in -> pullup (- 1 )); $bev -> writeBuffer ( $in ); } // This callback is invoked when some event occurs on the event listener, // e.g. ...
https://man.mtool.work/php/8.3/event.examples.html
関数・メソッド | PHP 8.3 7526
関数・メソッド マニュアル内の全関数およびメソッドの一覧 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 言語と同様にス ... t of the buffer EventBuffer::prependBuffer - Moves all data from source buffer to the front of current buffer EventBuffer::pullup - Linearizes data within buffer and returns its contents as a string EventBuffer::read - Read data from an evbuffer and dr ...
https://man.mtool.work/php/8.3/indexes.functions.html
PREV 1 NEXT