protected void skipPad ( ) throws IOException { if ( bytesRead > 0 ) { int extra = ( int ) ( bytesRead % TarConstants . DATA_BLOCK ) ; if ( extra > 0 ) { long bs = 0 ; while ( bs < TarConstants . DATA_BLOCK - extra ) { long res = skip ( TarConstants . DATA_BLOCK - extra - bs ) ; bs += res ; } } } }
Skips the pad at the end of each tar entry file content