#include <File.h>
Public Types | |
enum | { READ = 1, WRITE = 2 } |
Public Methods | |
FileWrapper () | |
~FileWrapper () | |
bool | open (const char *fname, Int32 mode) |
void | close (bool destroy=false) |
bool | read (void *data, Int32 len) |
bool | write (void *data, Int32 len) |
void | seek (Int64 pos) |
This class is required to allow 64-bit file access. It is OS specific, since the standard C library calls do not allow 64-bit offsets within files
|
Flags for open mode.
|
|
Constructor.
|
|
Destructor.
|
|
Close the file.
|
|
Open a file.
|
|
Read from file.
|
|
Seek within file.
|
|
Write to file.
|