class_docstr: A pure Python implementation of InputStream.
class_docstr_tok: ["A","pure","Python","implementation","of","InputStream","."]
code: def read(self, size):
      self.pos += size
      return self.data[self.pos - size : self.pos]
  
imports: import struct
label_desc: Use image node_id 2 for calling the InputStream obj's underlying member method code with example usage: obj.read(size) and returns: self