Reset the stream.
void reset();
This puts the stream in a newly constructed state with the previously specified window size, but without de-allocating any dynamically created structures.