Description

Reset discards any unflushed buffered data, clears any error, and resets b to write its output to w.