XorOutputStream.h
Go to the documentation of this file.
@ eSST_Transform
A stream that is transforming the data.
Definition: DataSourceStream.h:35
XorOutputStream(IDataSourceStream *stream, uint8_t *mask, size_t maskLength)
Constructor.
Definition: XorOutputStream.h:40
virtual uint16_t readMemoryBlock(char *data, int bufSize)=0
Read a block of memory.
bool isFinished() override
Check if all data has been read.
Definition: XorOutputStream.h:78
virtual bool seek(int len)
Move read cursor.
Definition: DataSourceStream.h:106
Xors original stream content with the specified mask.
Definition: XorOutputStream.h:21
uint16_t readMemoryBlock(char *data, int bufSize) override
Read a block of memory.
Definition: XorOutputStream.h:55
int available() override
Return the total length of the stream.
Definition: XorOutputStream.h:50
StreamType getStreamType() const override
Get the stream type.
Definition: XorOutputStream.h:45
virtual int available()
Return the total length of the stream.
Definition: DataSourceStream.h:120