codecs.decoder
natank1 opened this issue · 0 comments
natank1 commented
When I am using the decoding \encodign functions, I experience the following:
array['hex_signature’]= ‘0x403eaa4e'
array[“text_signature”]= 'predictDeterministicAddress(bytes[],uint256)'
encode_hex(array['text_signature’])=√b’0x7072656469637444657465726d696e6973746963416464726573732862797465735b5d2c75696e7432353629'
decode_hex(encode_hex(array['text_signature'])) =b'predictDeterministicAddress(bytes[],uint256)’
But. Decode_hex on array[“hex_signature"] doesn’t provide any function. How come?