PHP 인터페이스 Kraken\Stream\StreamSeekerInterface

상속: extends Kraken\Event\EventEmitterInterface, extends Kraken\Stream\StreamBaseInterface
파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
isSeekable ( ) : boolean Check if stream is seekable.
rewind ( ) Move the file pointer to the beginning of the stream.
seek ( integer $offset, integer $whence = SEEK_SET ) Move the file pointer to a new position.
tell ( ) : integer Get the position of the file pointer.

메소드 상세

isSeekable() 공개 메소드

Check if stream is seekable.
public isSeekable ( ) : boolean
리턴 boolean

rewind() 공개 메소드

Move the file pointer to the beginning of the stream.
public rewind ( )

seek() 공개 메소드

The new position, measured in bytes from the beginning of the file, is obtained by adding $offset to the position specified by $whence.
public seek ( integer $offset, integer $whence = SEEK_SET )
$offset integer
$whence integer

tell() 공개 메소드

Get the position of the file pointer.
public tell ( ) : integer
리턴 integer