Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Workerman
Protocols
Frame
PHP Class Workerman\Protocols\Frame
显示文件
Open project: walkor/workerman
Public Methods
Method
Description
decode
(
string
$buffer
) :
string
Decode.
encode
(
string
$buffer
) :
string
Encode.
input
(
string
$buffer
,
TcpConnection
$connection
) :
integer
Check the integrity of the package.
Method Details
decode()
public
static
method
Decode.
public
static
decode
(
string
$buffer
) :
string
$buffer
string
return
string
encode()
public
static
method
Encode.
public
static
encode
(
string
$buffer
) :
string
$buffer
string
return
string
input()
public
static
method
Check the integrity of the package.
public
static
input
(
string
$buffer
,
TcpConnection
$connection
) :
integer
$buffer
string
$connection
Workerman\Connection\TcpConnection
return
integer