update : 2015.11.03
php.shukuma.com검색:
|
MongoGridFSFile::getBytes(PECL mongo >=0.9.0) MongoGridFSFile::getBytes — Returns this file's contents as a string of bytes 설명
public string MongoGridFSFile::getBytes
( void
)
Warning: this will load the file into memory. If the file is bigger than your memory, this will cause problems! 인수이 함수는 인수가 없습니다. 반환값Returns a string of the bytes in the file. 예제Example #1 MongoGridFSFile::getBytes() example
<?php |