class_docstr: A pure Python implementation of OutputStream.
class_docstr_tok: ["A","pure","Python","implementation","of","OutputStream","."]
code: def write(self, b: bytes):
      self.data.append(b)
      self.byte_count += len(b)
  
imports: import struct
label_desc: Use image node_id 2 for calling the OutputStream obj's underlying member method code with example usage: obj.write(b) without return types