question: public static long streamSkip ( InputStream stream , long count ) throws IOException { long skipped = stream . skip ( count ) ; if ( skipped < 1 ) { final byte [ ] temp = new byte [ 1024 ] ; skipped = stream . read ( temp , 0 , Math . min ( ( int ) count , 1024 ) ) ; } return skipped ; }
target:  A wrapper for stream.skip that is guaranteed to skip at least 1 byte when called