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