Loading...
Searching...
No Matches
QC_FileInputStream.dox.h
namespace Qore {
class FileInputStream : public InputStream {
public:
constructor(string fileName, timeout timeout_ms = -1, *bool nonblocking_open);
public:
int peek();
public:
*binary read(int limit);
};
}
Qore::FileInputStream
This class implements the InputStream interface for reading bytes from a file.
Definition: QC_FileInputStream.dox.h:28
Qore::FileInputStream::read
*binary read(int limit)
Reads bytes (up to a specified limit) from the input stream; returns NOTHING if there are no more byt...
Qore::FileInputStream::peek
int peek()
Peeks the next byte available from the input stream; returns -1 if no more data available.
Qore::FileInputStream::constructor
constructor(string fileName, timeout timeout_ms=-1, *bool nonblocking_open)
Creates the FileInputStream by opening a file.
Qore::InputStream
This class defines an abstract interface for input streams.
Definition: QC_InputStream.dox.h:19
Qore::binary
binary binary()
Always returns an empty binary object (of zero length)
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3