method BufWriter.prototype.flushView codeBufWriter.prototype.flush(): Promise<void>Flush writes any buffered data to the underlying io.Writer. Return TypePromise<void>View code