3rd/p7zip/p7zip/CPP/7zip/Archive/Zip/ZipIn.cpp
// we use Skip() inside headers only, so no need for stream change in multivol.
we use Skip() inside headers only, so no need for stream change in multivol.
we use Skip () inside headers only so no need for stream change in multivol .
void CInArchive::Skip(unsigned num)
{
  if (_inBufMode)
  {
    size_t skip = _inBuffer.Skip(num);
    m_Position += skip;
    _processedCnt += skip;
    if (skip != num)
      throw CUnexpectEnd();
  }
  else
  {
    for (unsigned i = 0; i < num; i++)
      ReadByte();
  }
}
void CInArchive :: Skip ( unsigned num ) { if ( _inBufMode ) { size_t skip = _inBuffer . Skip ( num ) ; m_Position += skip ; _processedCnt += skip ; if ( skip != num ) throw CUnexpectEnd ( ) ; } else { for ( unsigned i = 0 ; i < num ; i ++ ) ReadByte ( ) ; } }
we use Skip() inside headers only, so no need for stream change in multivol.
we use Skip () inside headers only so no need for stream change in multivol .