parameters: (self)
docstring: Skip the rest of the chunk.
          If you are not interested in the contents of the chunk,
          this method should be called so that the file points to
          the start of the next chunk.
docstring_summary: Skip the rest of the chunk.
          If you are not interested in the contents of the chunk,
          this method should be called so that the file points to
          the start of the next chunk.
docstring_tokens: Skip the rest of the chunk . If you are not interested in the contents of the chunk this method should be called so that the file points to the start of the next chunk .
function: def skip(self):
          """Skip the rest of the chunk.
          If you are not interested in the contents of the chunk,
          this method should be called so that the file points to
          the start of the next chunk.
          """
  
          if self.closed:
              raise ValueError("I/O operation on closed file")
          if self.seekable:
              try:
                  n = self.chunksize - self.size_read
                  # maybe fix alignment
                  if self.align and (self.chunksize & 1):
                      n = n + 1
                  self.file.seek(n, 1)
                  self.size_read = self.size_read + n
                  return
              except OSError:
                  pass
          while self.size_read < self.chunksize:
              n = min(8192, self.chunksize - self.size_read)
              dummy = self.read(n)
              if not dummy:
                  raise EOFError
function_tokens: def skip ( self ) : if self . closed : raise ValueError ( "I/O operation on closed file" ) if self . seekable : try : n = self . chunksize - self . size_read # maybe fix alignment if self . align and ( self . chunksize & 1 ) : n = n + 1 self . file . seek ( n , 1 ) self . size_read = self . size_read + n return except OSError : pass while self . size_read < self . chunksize : n = min ( 8192 , self . chunksize - self . size_read ) dummy = self . read ( n ) if not dummy : raise EOFError