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