I have simple function for converting hex string to integer.
For test calls, for example I call this:
Question is why "i" array in function "TestHexToInt" is always empty?
B4X:
Sub TestHexToInt(Str As String)
Dim converter As ByteConverter
Dim b() As Byte, i() As Int
b = converter.HexToBytes(Str)
i = converter.IntsFromBytes(b)
Log(b(0))
Log(i(0))
End Sub
For test calls, for example I call this:
B4X:
TestHexToInt("01")
TestHexToInt("55")
TestHexToInt("E0")
Question is why "i" array in function "TestHexToInt" is always empty?