FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
bool FB::BrowserStream::readRange ( size_t  start,
size_t  end 
)
virtual

Performs a read range request, returns the bytes in the range [start, end).

Only works if stream is seekable. Asynchronous, returns immediately. Listen for StreamFailedOpenEvent, StreamOpenedEvent, StreamDataArrivedEvent to get any results.

Author
Matthias
Returns
false on error, else true

Definition at line 39 of file BrowserStream.cpp.

References readRanges().

40 {
41  return readRanges( std::vector<Range>( 1, Range(start, end) ) );
42 }
virtual bool readRanges(const std::vector< Range > &ranges)=0
Same functionality as BrowserStream::readRange( size_t start, size_t end ), except multiple ranges ca...

Here is the call graph for this function: