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