PHP 인터페이스 Swift_OutputByteStream, Halite

Classes implementing this interface may use a subsystem which requires less memory than working with large strings of data.
저자: Chris Corbyn
파일 보기 프로젝트 열기: HaliteChallenge/Halite 0 사용 예제들

공개 메소드들

메소드 설명
read ( integer $length ) : string | boolean Reads $length bytes from the stream into a string and moves the pointer through the stream by $length.
setReadPointer ( integer $byteOffset ) : boolean Move the internal read pointer to $byteOffset in the stream.

메소드 상세

read() 공개 메소드

If less bytes exist than are requested the remaining bytes are given instead. If no bytes are remaining at all, boolean false is returned.
public read ( integer $length ) : string | boolean
$length integer
리턴 string | boolean

setReadPointer() 공개 메소드

Move the internal read pointer to $byteOffset in the stream.
public setReadPointer ( integer $byteOffset ) : boolean
$byteOffset integer
리턴 boolean