PartitionStream.h
Go to the documentation of this file.
37 PartitionStream(Partition partition, storage_size_t offset, size_t size, bool blockErase = false)
PartitionStream(Partition partition, storage_size_t offset, size_t size, bool blockErase=false)
Access part of a partition using a stream.
Definition: PartitionStream.h:53
int available() override
Return the total length of the stream.
Definition: PartitionStream.h:70
Definition: FileDevice.h:25
uint16_t readMemoryBlock(char *data, int bufSize) override
Read a block of memory.
bool isFinished() override
Check if all data has been read.
Definition: PartitionStream.h:81
int seekFrom(int offset, SeekOrigin origin) override
Change position in stream.
size_t write(const uint8_t *buffer, size_t size) override
Write chars to stream.