Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Devristo
Phpws
Framing
WebSocketFrame
IsBitSet
Devristo\Phpws\Framing\WebSocketFrame::IsBitSet PHP Method
WebSocketFrame Class Documentation
Show file
Open project: devristo/phpws
IsBitSet()
protected
static
method
protected
static
IsBitSet
(
$byte
,
$pos
)
protected static function IsBitSet($byte, $pos) { return ($byte & pow(2, $pos)) > 0 ? 1 : 0; }
WebSocketFrame
IsBitSet
__construct
create
decode
encode
getData
getType
isFinal
isMasked
isReady
rotMask
setMasked
setType