/**
  * Flushes destination streambuf
  * 
  * @return number of bytes flushed
  */
 std::streamsize flush() {
     return streambuf->pubsync();
 }
Beispiel #2
0
 virtual int sync() override {
   ASSERT(_streambuf);
   return _streambuf->pubsync();
 }