Qore Programming Language Reference Manual
1.14.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
x
y
Variables
_
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
z
•
All
Classes
Namespaces
Functions
Variables
Modules
Pages
Loading...
Searching...
No Matches
QC_FileInputStream.dox.h
1
2
namespace
Qore
{
4
28
class
FileInputStream
:
public
InputStream
{
29
30
public
:
32
42
constructor
(
string
fileName, timeout timeout_ms = -1, *
bool
nonblocking_open);
43
44
public
:
46
59
int
peek
();
60
61
public
:
63
83
*
binary
read
(
int
limit);
84
};
85
}
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
Qore namespace.
Definition:
QC_AbstractSmartLock.dox.h:2