Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
PHPDaemon
Network
IOStream
drain
PHPDaemon\Network\IOStream::drain PHP 메소드
IOStream 1 문서
파일 보기
프로젝트 열기: kakserpom/phpdaemon
drain()
공개
메소드
Drains buffer
public
drain
(
integer
$n
) :
boolean
$n
integer
Numbers of bytes to drain
리턴
boolean
Success
public function drain($n) { return $this->bev->input->drain($n); }
IOStream
__construct
__get
close
drain
drainIfMatch
finish
freezeInput
freezeOutput
getBev
getFd
getInputLength
gracefulShutdown
init
isFinished
isFreed
log
look
lookExact
moveToBuffer
onFinish
onRead
onReadEv
onReady
onStateEv
onWrite
onWriteEv
onWriteOnce
prependInput
prependOutput
read
readExact
readLine
readUnlimited
search
setContext
setFd
setPriority
setTimeout
setTimeouts
setWatermark
substr
unfreezeInput
unfreezeOutput
unsetFd
write
writeFromBuffer
writeln