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