12 Status status = Status::NOT_SUPPORTED;
19 Status status = Status::NOT_SUPPORTED;
24 Status status = Status::NOT_SUPPORTED;
29 Status status = Status::NOT_SUPPORTED;
34 Status status = Status::NOT_SUPPORTED;
39 Status status = Status::NOT_SUPPORTED;
44 Status status = Status::NOT_SUPPORTED;
49 Status status = Status::NOT_SUPPORTED;
54 return &this->m_handle;
uint8_t U8
8-bit unsigned integer
PlatformSignedSizeType FwSignedSizeType
Status preallocate(FwSignedSizeType offset, FwSignedSizeType length) override
pre-allocate file storage
Status read(U8 *buffer, FwSignedSizeType &size, WaitType wait) override
read data from this file into supplied buffer bounded by size
Status size(FwSignedSizeType &size_result) override
get size of currently open file
void close() override
close the file, if not opened then do nothing
Os::FileInterface::Status open(const char *path, Mode mode, OverwriteType overwrite) override
open file with supplied path and mode
Status seek(FwSignedSizeType offset, SeekType seekType) override
seek the file pointer to the given offset
FileHandle * getHandle() override
returns the raw file handle
Status flush() override
flush file contents to storage
Status write(const U8 *buffer, FwSignedSizeType &size, WaitType wait) override
read data from this file into supplied buffer bounded by size
Status position(FwSignedSizeType &position_result) override
get file pointer position of the currently open file
base implementation of FileHandle