PartitionStream.h
Go to the documentation of this file.
33 PartitionStream(Partition partition) : partition(partition), startOffset(0), size(partition.size())
uint16_t readMemoryBlock(char *data, int bufSize) override
Read a block of memory.
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.
int available() override
Return the total length of the stream.
Definition: PartitionStream.h:37
bool isFinished() override
Check if all data has been read.
Definition: PartitionStream.h:48
PartitionStream(Partition partition)
Definition: PartitionStream.h:33
Stream operating directory on a Storage partition.
Definition: PartitionStream.h:25
Definition: FileDevice.h:23
PartitionStream(Partition partition, uint32_t offset, size_t size)
Definition: PartitionStream.h:28