Handle class for a file.
More...
#include <filesystem.h>
|
| enum class | OpenType { READ
, WRITE
} |
| |
|
|
bool | open (const char *fname, const OpenType &mode) |
| |
|
bool | is_open () const |
| |
|
bool | is_available () const |
| |
|
void | close () |
| |
|
size_t | size () const |
| |
|
size_t | write (const uint8_t *const in, size_t sz) |
| |
|
size_t | read (uint8_t *out, size_t sz) |
| |
|
bool | seek (uint8_t sz) |
| |
|
void | truncate (uint8_t sz) |
| |
The documentation for this struct was generated from the following file: