MongoGridFSFile::getBytesReturns this file's contents as a string of bytes Description
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! ParametersThis function has no parameters. Return ValuesReturns a string of the bytes in the file. ExamplesExample #1 MongoGridFSFile::getBytes example
<?php |