Put the stream in a newly constructed state.
void clear();
All dynamically allocated memory is de-allocated.