RbootOutputStream.h
Go to the documentation of this file.
28 RbootOutputStream(uint32_t startAddress, size_t maxLength = 0) : startAddress(startAddress), maxLength(maxLength)
size_t write(const uint8_t *data, size_t size) override
Write chars to stream.
int available() override
Return the total length of the stream.
Definition: RbootOutputStream.h:54
rboot_write_status rBootWriteStatus
Definition: RbootOutputStream.h:78
RbootOutputStream(uint32_t startAddress, size_t maxLength=0)
Definition: RbootOutputStream.h:28
Definition: RbootOutputStream.h:21
uint16_t readMemoryBlock(char *data, int bufSize) override
Read a block of memory.
Definition: RbootOutputStream.h:44
bool isFinished() override
Check if all data has been read.
Definition: RbootOutputStream.h:59
virtual bool init()
StreamType getStreamType() const override
Get the stream type.
Definition: RbootOutputStream.h:39
bool seek(int len) override
Move read cursor.
Definition: RbootOutputStream.h:49
virtual bool close()
1.8.13