Skip to content
  • Torsten Grote's avatar
    Establish some rules for handling InputStreams · 3cfb04b6
    Torsten Grote authored
    * Methods shouldn't place any special requirements on the streams
      passed into them
    * This implies that if a stream's going to be marked and reset,
      that should all happen within one method
    * This also implies that if a method needs to mark and reset a stream,
      it should wrap the stream in a BufferedInputStream before doing so,
      rather than requiring a markable stream to be passed in
    3cfb04b6