Posted on c/ElrondDevelopers 1 sir8214764815c/ElrondDevelopers 2 years ago Hello guys how can i convert hex value to decimal inside contract. ManagedByteArray to a u8? Comment 1 Comments mwf81318617 2years ago An u8 is only one byte. Also you will never have to do any hex conversion, as the data your receive in the contract is always binary. Hex is only the form used to send that data from the user.
An u8 is only one byte. Also you will never have to do any hex conversion, as the data your receive in the contract is always binary. Hex is only the form used to send that data from the user.