A simple in memory representation of a file. More...
#include <asynchronousfileloadingworkunit.h>
Public Member Functions | |
| RawFile (const MaxInt BufferSize) | |
| Constructor. More... | |
| ~RawFile () | |
| De-allocates the memory for the file. This make deleting Data manually a bad idea. | |
Public Attributes | |
| UInt8 * | Data |
| A pointer to a block of memory as it was loaded raw from the file. | |
| MaxInt | Size |
| How big is the file in bytes? | |
A simple in memory representation of a file.
Definition at line 62 of file asynchronousfileloadingworkunit.h.
|
inline |
Constructor.
Allocates space of the amount passed. In the AsynchronousFileLoadWorkUnit this is the size of the file to be loaded.
| BufferSize | The size of the buffer to allocate. |
Definition at line 75 of file asynchronousfileloadingworkunit.h.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.