docstr: Seek to specified position into the chunk.
  Default position is 0 (start of chunk).
  If the file is not seekable, this will result in an error.
docstr_tok: ["Seek","to","specified","position","into","the","chunk",".","Default","position","is","0","(","start","of","chunk",")",".","If","the","file","is","not","seekable",",","this","will","result","in","an","error","."]
code: def seek(self, pos, whence=0):
      """Seek to specified position into the chunk.
      Default position is 0 (start of chunk).
      If the file is not seekable, this will result in an error.
      """
  
      if self.closed:
          raise ValueError("I/O operation on closed file")
      if not self.seekable:
          raise OSError("cannot seek")
      if whence == 1:
          pos = pos + self.size_read
      elif whence == 2:
          pos = pos + self.chunksize
      if pos < 0 or pos > self.chunksize:
          raise RuntimeError
      self.file.seek(self.offset + pos, 0)
      self.size_read = pos
  
imports: from collections import namedtuple
  import builtins
  import struct
  import sys
label_desc: Use image node_id 4 for calling the _Chunk obj's underlying member method code with example usage: obj.seek(pos, whence) without return types