13 #ifndef _SMING_CORE_DATA_URL_ENCODDED_OUTPUT_STREAM_H_ 14 #define _SMING_CORE_DATA_URL_ENCODDED_OUTPUT_STREAM_H_ 16 #include "MemoryDataStream.h" 17 #include "Network/Http/HttpParams.h" 57 bool seek(
int len)
override 59 return stream.
seek(len);
int available() override
Return the total length of the stream.
Definition: UrlencodedOutputStream.h:45
bool isFinished() override
Check if all data has been read.
Definition: MemoryDataStream.h:76
Definition: HttpParams.h:32
Base class for data source stream.
Definition: DataSourceStream.h:39
UrlEncoded Stream.
Definition: UrlencodedOutputStream.h:26
uint16_t readMemoryBlock(char *data, int bufSize) override
Read a block of memory.
Definition: UrlencodedOutputStream.h:51
int available() override
Return the total length of the stream.
Definition: MemoryDataStream.h:55
bool seek(int len) override
Move read cursor.
Definition: UrlencodedOutputStream.h:57
StreamType getStreamType() const override
Get the stream type.
Definition: UrlencodedOutputStream.h:36
bool seek(int len) override
Move read cursor.
StreamType
Data stream type.
Definition: DataSourceStream.h:22
uint16_t readMemoryBlock(char *data, int bufSize) override
Read a block of memory.
UrlencodedOutputStream(const HttpParams ¶ms)
Represents key-value pairs as urlencoded string.
bool isFinished() override
Check if all data has been read.
Definition: UrlencodedOutputStream.h:63
StreamType getStreamType() const override
Get the stream type.
Definition: MemoryDataStream.h:38
Definition: MemoryDataStream.h:29