Greetings,
I am needing to convert an array of ints to an array of bytes and back again. I am not sure if I am missing something obvious here.
That is as far as I have managed to get, but you will see the last line raises an error and I am not sure what to do.
Thanks,
Martin
I am needing to convert an array of ints to an array of bytes and back again. I am not sure if I am missing something obvious here.
B4X:
Dim InvTable() As Int = Array As Int (0x09, 0x19, 0x29)
Dim bs As ByteConverter
Dim b() As Byte = bs.IntsToBytes(InvTable())
That is as far as I have managed to get, but you will see the last line raises an error and I am not sure what to do.
Thanks,
Martin