actual number of bytes consumed is exactly what 's expected , when skipped bytes are included . concode_field_sep String sampleData concode_field_sep void testMarkAndResetAtEnd concode_elem_sep void testContentLength concode_elem_sep void testSkipExcluded concode_elem_sep void testOverSkipped concode_elem_sep void testSkipIncludedFailure concode_elem_sep void testMarkAndResetWithWrongExpectedLength concode_elem_sep void testSkipExcludedFailure concode_elem_sep void testMarkInitiallyAndReset
void function ( ) { byte [ ] loc0 = new byte [ 100 ] ; InputStream loc1 = new LengthCheckInputStream ( new ByteArrayInputStream ( loc0 ) , 100 , INCLUDE_SKIPPED_BYTES ) ; assertTrue ( 10 == loc1 . skip ( 10 ) ) ; StreamUtils . consumeInputStream ( loc1 ) ; loc1 . close ( ) ; }