'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.'

def skip(self):

    if self.closed:
        raise ValueError('I/O    operation    on    closed    file')
    if self.seekable:
        try:
            n = (self.chunksize - self.size_read)
            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
