HostFileDevice.h
Go to the documentation of this file.
Definition: Partition.h:77
bool raw_sector_erase_range(storage_size_t address, size_t size) override
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:616
Type getType() const override
Obtain device type.
Definition: HostFileDevice.h:47
bool raw_sector_write(storage_size_t address, const void *src, size_t size) override
Base class for sector-addressable (block) devices.
Definition: BlockDevice.h:33
~HostFileDevice()
Type
Storage type.
Definition: Components/Storage/src/include/Storage/Device.h:42
HostFileDevice(const String &name, const String &filename, storage_size_t size)
Construct a file device with custom size.
Class to manage a NUL-terminated C-style string When storing persistent strings in RAM the regular St...
Definition: CString.h:26
Create custom storage device using backing file.
Definition: HostFileDevice.h:20
bool raw_sector_read(storage_size_t address, void *dst, size_t size) override
String getName() const override
Obtain unique device name.
Definition: HostFileDevice.h:42
1.8.13