Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Workerman
Protocols
Frame
PHP Class Workerman\Protocols\Frame
Mostra file
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