class_docstr: A file object that provides read access to a part of an existing
  file (for example a TAR file).
docstr: Read data.
  
  :param n: Number of bytes to read. If omitted or zero,
      read until end of region.
  :returns: An 8-bit string.
code: def read(self, n=0):
      """
      Read data.
  
      :param n: Number of bytes to read. If omitted or zero,
          read until end of region.
      :returns: An 8-bit string.
      """
      if n:
          n = min(n, self.length - self.pos)
      else:
          n = self.length - self.pos
      if not n:  # EOF
          return b"" if "b" in self.fh.mode else ""
      self.pos = self.pos + n
      return self.fh.read(n)
  
file_path: pillow-simd/src/PIL/ContainerIO.py
imports: import io
label_desc: Use image node_id 5 for calling the ContainerIO obj's underlying member method code with example usage: obj.read(n) and returns: self, unknown