private void releaseInflatedBytes() throws IOException {
  if (bufferBytesHeldByInflater == 0)   return;
  int toRelease=bufferBytesHeldByInflater - inflater.getRemaining();
  bufferBytesHeldByInflater-=toRelease;
  source.skip(toRelease);
}

private void releaseInflatedBytes ( ) throws IOException { if ( bufferBytesHeldByInflater == 0 ) return ; int toRelease = bufferBytesHeldByInflater - inflater . getRemaining ( ) ; bufferBytesHeldByInflater -= toRelease ; source . skip ( toRelease ) ; }
when the inflater has processed compressed data , remove it from the buffer .
