code: def encode(self, input, final=False):
      assert self.errors == "strict"
      return binascii.b2a_hex(input)
  
file_path: catboost/contrib/tools/python/src/Lib/encodings/hex_codec.py
imports: import codecs, binascii
label_desc: Use image node_id 1 for calling the IncrementalEncoder obj's underlying member method code with example usage: obj.encode(input, final) and returns: binascii