Hello. I am trying to get an integer from two bytes but I think IntsFromBytes expects 4 bytes so the length is zero and I am not getting a result. So for example if I have 2 bytes: 0x00 and 0x78 I would expect an integer of 120 but I get nothing.
Dim dbA() As Byte = bb.SubArray2(9,11) 'duration a
Dim intda() As Int = bc.IntsFromBytes(dbA)
Just wondering what I should do here instead?
Thanks
Dim dbA() As Byte = bb.SubArray2(9,11) 'duration a
Dim intda() As Int = bc.IntsFromBytes(dbA)
B4X:
Dim dbA() As Byte = bb.SubArray2(9,11) 'duration a
Dim intda() As Int = bc.IntsFromBytes(dbA)
Just wondering what I should do here instead?
Thanks