I am getting an address with too many zeros after the "0x" part.... how to remove these zeros the proper way from the address?
Well if you're sure they are just extra zeros and the first 20 bytes are truly an address, I suppose you could shift right and knock off bytes > 20. So like, if you have 0xFF0000 and all you want is 0xFF, you shift right 16 (bits).
Обсуждают сегодня