code: def _seek(self, frame):
      if frame == 0:
          self.__frame = -1
          self.__fp.seek(self.__rewind)
          self.__offset = 128
      else:
          # ensure that the previous frame was loaded
          self.load()
  
      if frame != self.__frame + 1:
          raise ValueError("cannot seek to frame %d" % frame)
      self.__frame = frame
  
      # move to next frame
      self.fp = self.__fp
      self.fp.seek(self.__offset)
  
      s = self.fp.read(4)
      if not s:
          raise EOFError
  
      framesize = i32(s)
  
      self.decodermaxblock = framesize
      self.tile = [("fli", (0, 0) + self.size, self.__offset, None)]
  
      self.__offset += framesize
  
file_path: catboost/contrib/python/Pillow/py2/PIL/FliImagePlugin.py
imports: from .None import Image, ImageFile, ImagePalette
  from ._binary import i8, i16le, i32le, o8
label_desc: Use image node_id 6 for calling the FliImageFile obj's underlying member method code with example usage: obj._seek(frame) without return types