11 #include "FsEntry.hpp"
12 #include "FsPartition.hpp"
13 #include "RtosInclude.hpp"
15 class FsFile:
public FsEntry {
23 FsDefs::RESULT open(
const char* path,
bool readOnly =
false);
24 FsDefs::RESULT create(
const char* path,
bool readOnly =
false);
25 FsDefs::RESULT read(
void* buffer,
size_t len,
size_t* transfered);
26 FsDefs::RESULT write(
const void* buffer,
size_t len,
size_t* transfered);
27 FsDefs::RESULT seek(
size_t position);
28 FsDefs::RESULT flush();
29 FsDefs::RESULT del(
const char* path);
31 virtual FsDefs::RESULT close();