PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

EventBuffer::pullup - Linearizes data within buffer and returns it's contents as a string | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

EventBuffer::pullup

(PECL event >= 1.2.6-beta)

EventBuffer::pullupLinearizes data within buffer and returns it's contents as a string

説明

public string EventBuffer::pullup ( int $size )

"Linearizes" the first size bytes of the buffer, copying or moving them as needed to ensure that they are all contiguous and occupying 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

The number of bytes required to be contiguous within the buffer.

返り値

If size is greater than the number of bytes in the buffer, the function returns NULL. Otherwise, EventBuffer::pullup() returns string.

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「EventBuffer::pullup - Linearizes data within buffer and returns it's contents as a string」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | EventBuffer::pullup - Linearizes data within buffer and returns it's contents as a string」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: