Library of Assembled Shared Sources
|
Input Stream for binary files. More...
#include <binary_i_file.h>
Public Member Functions | |
BinaryIFile () | |
Construct an "empty" closed stream. | |
BinaryIFile (const char *path) | |
Construct stream by filename and open it. | |
BinaryIFile (const std::string &path) | |
Construct stream by filename and open it. | |
~BinaryIFile () | |
Close stream on destruction. | |
size_t | read (void *out, size_t numberOfBytes) |
read a number of bytes from stream to buffer | |
Input Stream for binary files.
Definition at line 70 of file binary_i_file.h.
lass::io::BinaryIFile::BinaryIFile | ( | ) |
Construct an "empty" closed stream.
Definition at line 60 of file binary_i_file.cpp.
|
inherited |
read a number of bytes from stream to buffer
iBytes | pointer to buffer. Must be able to contain at least numBytes bytes. |
numBytes | number of bytes to be read |
Definition at line 261 of file binary_i_stream.cpp.
References read().
Referenced by read().