code: def encode(self, input, errors="strict"):
      return Codec.encode(input, errors, self.mapping)
  
imports: import codecs
label_desc: Use image node_id 2 for calling the StreamWriter obj's underlying member method code with example usage: obj.encode(input, errors) and returns: Codec