There is should be no need to rewind the input stream any more.