B4J Question Convert from byte (decimal) to hex...

stefanoxjx

Active Member
Licensed User
Longtime User
Hi guys,
I've an array of byte and I need to print any byte of array in hex.
Do you know if there is a function that does it?
Thanks.

Stefano
 
Last edited:

derez

Expert
Licensed User
Longtime User
B4J ByteConverter library:
HexFromBytes (bytes() As Byte) As String
Returns a string containing the representation in hexadecimal of the bytes in a byte array.
 
Upvote 0
Top