array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'swoole-websocket-server.unpack.php', 1 => 'Swoole\\WebSocket\\Server::unpack', 2 => 'Unpack the binary data received from the client.', ), 'up' => array ( 0 => 'class.swoole-websocket-server.php', 1 => 'Swoole\\WebSocket\\Server', ), 'prev' => array ( 0 => 'swoole-websocket-server.push.php', 1 => 'Swoole\\WebSocket\\Server::push', ), 'next' => array ( 0 => 'book.tidy.php', 1 => 'Tidy', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/websocket/server/unpack.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\WebSocket\Server::unpack

(PECL swoole >= 1.9.0)

Swoole\WebSocket\Server::unpackUnpack the binary data received from the client.

说明

public static Swoole\WebSocket\Server::unpack(binary $data): string

参数

data

返回值