readFromBuffer() 공개 정적인 메소드

Buffer automatically fetches next chunk of data when the buffer falls short. Sets $eof when $GLOBALS['finished'] is set and the buffer falls short.
public static readFromBuffer ( integer $length ) : string
$length integer number of bytes
리턴 string
예제 #1
0
 /**
  * Reads given number of bytes from SHP file
  *
  * @return string|false
  */
 public function readSHP($bytes)
 {
     return ImportShp::readFromBuffer($bytes);
 }