12 input->seekg(0, std::ios::beg);
14 while(!input->eof()&&input->good())
16 input->read(buf, 1024);
17 int gcount = input->gcount();
20 buffer.insert(buffer.end(), buf , buf + gcount);
RTTI_DEF1(ossimWebResponse, "ossimWebResponse", ossimObject)
virtual std::istream * getInputStream()=0
This might have to change in the future if we start doing other protocols such as ftp scp...
std::basic_istream< char > istream
Base class for char input streams.
void copyAllDataFromInputStream(ByteBuffer &buffer)
std::vector< char > ByteBuffer