Ark Server API (ASE) - Wiki
|
#include <StreamCopier.h>
Static Public Member Functions | |
static std::streamsize | copyStream (std::istream &istr, std::ostream &ostr, std::size_t bufferSize=8192) |
static std::streamsize | copyStreamUnbuffered (std::istream &istr, std::ostream &ostr) |
static std::streamsize | copyToString (std::istream &istr, std::string &str, std::size_t bufferSize=8192) |
This class provides static methods to copy the contents from one stream into another.
Definition at line 30 of file StreamCopier.h.
|
static |
|
static |
Writes all bytes readable from istr to ostr, using an internal buffer.
Returns the number of bytes copied.
|
static |
Writes all bytes readable from istr to ostr.
Returns the number of bytes copied.