This struct identifies a basic input operator to be applied to a File object.
More...
#include <serialize.h>
|
| static const char * | FileAccess () |
| | Returns the required file access for this operator. More...
|
| |
| static bool | SerializeBytes (File &file, void *ptr, int num_bytes) |
| | Performs an input (read) serialization of bytes for a file. More...
|
| |
This struct identifies a basic input operator to be applied to a File object.
- See also
- BaseStream
-
File
| static const char* data::InputOperator::FileAccess |
( |
| ) |
|
|
inlinestatic |
Returns the required file access for this operator.
| static bool data::InputOperator::SerializeBytes |
( |
File & |
file, |
|
|
void * |
ptr, |
|
|
int |
num_bytes |
|
) |
| |
|
inlinestatic |
Performs an input (read) serialization of bytes for a file.
- Parameters
-
| file | File to use for the operation. |
| ptr | Pointer to the buffer where to store the bytes. |
| num_bytes | Number of bytes to read from the file. |
- Returns
true if successful.
The documentation for this struct was generated from the following file: