|
| WebInputStream (String address, bool isPost, const MemoryBlock &postData, URL::OpenStreamProgressCallback *progressCallback, void *progressCallbackContext, const String &headers, int timeOutMs, StringPairArray *responseHeaders, const int numRedirectsToFollow) |
|
| ~WebInputStream () |
|
bool | isError () const |
|
bool | isExhausted () override |
|
int64 | getTotalLength () override |
|
int64 | getPosition () override |
|
bool | setPosition (int64 wantedPos) override |
|
int | read (void *buffer, int bytesToRead) override |
|
| WebInputStream (const String &address, bool isPost, const MemoryBlock &postData, URL::OpenStreamProgressCallback *progressCallback, void *progressCallbackContext, const String &headers, int timeOutMs, StringPairArray *responseHeaders, const int maxRedirects) |
|
| ~WebInputStream () |
|
bool | isError () const |
|
bool | isExhausted () override |
|
int64 | getPosition () override |
|
int64 | getTotalLength () override |
|
int | read (void *buffer, int bytesToRead) override |
|
bool | setPosition (int64 wantedPos) override |
|
| WebInputStream (const String &address_, bool isPost_, const MemoryBlock &postData_, URL::OpenStreamProgressCallback *progressCallback, void *progressCallbackContext, const String &headers_, int timeOutMs_, StringPairArray *responseHeaders, const int maxRedirects) |
|
| ~WebInputStream () |
|
bool | isError () const |
|
bool | isExhausted () override |
|
int64 | getPosition () override |
|
int64 | getTotalLength () override |
|
int | read (void *buffer, int bytesToRead) override |
|
bool | setPosition (int64 wantedPos) override |
|
| WebInputStream (const String &address_, bool isPost_, const MemoryBlock &postData_, URL::OpenStreamProgressCallback *progressCallback, void *progressCallbackContext, const String &headers_, int timeOutMs_, StringPairArray *responseHeaders, const int numRedirectsToFollow_) |
|
bool | isError () const |
|
int64 | getTotalLength () override |
|
bool | isExhausted () override |
|
int64 | getPosition () override |
|
int | read (void *buffer, int bytesToRead) override |
|
bool | setPosition (int64 wantedPos) override |
|
| WebInputStream (const String &address_, bool isPost_, const MemoryBlock &postData_, URL::OpenStreamProgressCallback *progressCallback, void *progressCallbackContext, const String &headers_, int timeOutMs_, StringPairArray *responseHeaders, int numRedirectsToFollow) |
|
| ~WebInputStream () |
|
bool | isError () const |
|
bool | isExhausted () |
|
int64 | getPosition () |
|
int64 | getTotalLength () |
|
int | read (void *buffer, int bytesToRead) |
|
bool | setPosition (int64 wantedPos) |
|
virtual | ~InputStream () |
|
int64 | getNumBytesRemaining () |
|
virtual char | readByte () |
|
virtual bool | readBool () |
|
virtual short | readShort () |
|
virtual short | readShortBigEndian () |
|
virtual int | readInt () |
|
virtual int | readIntBigEndian () |
|
virtual int64 | readInt64 () |
|
virtual int64 | readInt64BigEndian () |
|
virtual float | readFloat () |
|
virtual float | readFloatBigEndian () |
|
virtual double | readDouble () |
|
virtual double | readDoubleBigEndian () |
|
virtual int | readCompressedInt () |
|
virtual String | readNextLine () |
|
virtual String | readString () |
|
virtual String | readEntireStreamAsString () |
|
virtual size_t | readIntoMemoryBlock (MemoryBlock &destBlock, ssize_t maxNumBytesToRead=-1) |
|
virtual void | skipNextBytes (int64 numBytesToSkip) |
|
bool WebInputStream::setPosition |
( |
int64 |
newPosition | ) |
|
|
inlineoverridevirtual |
Tries to move the current read position of the stream.
The position is an absolute number of bytes from the stream's start.
Some streams might not be able to do this, in which case they should do nothing and return false. Others might be able to manage it by resetting themselves and skipping to the correct position, although this is obviously a bit slow.
- Returns
- true if the stream manages to reposition itself correctly
- See also
- getPosition
Implements InputStream.
bool WebInputStream::setPosition |
( |
int64 |
newPosition | ) |
|
|
inlineoverridevirtual |
Tries to move the current read position of the stream.
The position is an absolute number of bytes from the stream's start.
Some streams might not be able to do this, in which case they should do nothing and return false. Others might be able to manage it by resetting themselves and skipping to the correct position, although this is obviously a bit slow.
- Returns
- true if the stream manages to reposition itself correctly
- See also
- getPosition
Implements InputStream.
bool WebInputStream::setPosition |
( |
int64 |
newPosition | ) |
|
|
inlinevirtual |
Tries to move the current read position of the stream.
The position is an absolute number of bytes from the stream's start.
Some streams might not be able to do this, in which case they should do nothing and return false. Others might be able to manage it by resetting themselves and skipping to the correct position, although this is obviously a bit slow.
- Returns
- true if the stream manages to reposition itself correctly
- See also
- getPosition
Implements InputStream.
bool WebInputStream::setPosition |
( |
int64 |
newPosition | ) |
|
|
inlineoverridevirtual |
Tries to move the current read position of the stream.
The position is an absolute number of bytes from the stream's start.
Some streams might not be able to do this, in which case they should do nothing and return false. Others might be able to manage it by resetting themselves and skipping to the correct position, although this is obviously a bit slow.
- Returns
- true if the stream manages to reposition itself correctly
- See also
- getPosition
Implements InputStream.
bool WebInputStream::setPosition |
( |
int64 |
newPosition | ) |
|
|
inlineoverridevirtual |
Tries to move the current read position of the stream.
The position is an absolute number of bytes from the stream's start.
Some streams might not be able to do this, in which case they should do nothing and return false. Others might be able to manage it by resetting themselves and skipping to the correct position, although this is obviously a bit slow.
- Returns
- true if the stream manages to reposition itself correctly
- See also
- getPosition
Implements InputStream.