protected boolean rawSkip ( long bytes , boolean toNewSource ) throws IOException { boolean result = seekOrSkip ( bytes , toNewSource ) ; setRawOffset ( getRawOffset ( ) + bytes ) ; // Check validity if ( rawBlockOffset > 0 && rawBlockOffset < metaDataBlockSize ) { throw new IOException ( "Cannot jump into the middle of a MetaDataBlock. MetaDataBlockSize = " + metaDataBlockSize + " and we are at " + rawBlockOffset ) ; } return result ; }
Skip some bytes from the raw InputStream .