Description

Reset discards any buffered data, resets all state, and switches the buffered reader to read from r.