code: def setstate(self, state):
      if state:
          self.encoder = None
      else:
          if sys.byteorder == "little":
              self.encoder = codecs.utf_16_le_encode
          else:
              self.encoder = codecs.utf_16_be_encode
  
imports: import codecs, sys
label_desc: Use image node_id 5 for calling the IncrementalEncoder obj's underlying member method code with example usage: obj.setstate(state) without return types