- Jun 6, 2020
- 11,559
- 4,422
Hi everyone.
I've been reading the forum for two days and I'm getting more and more lost. I'll tell you the problem (it's probably already answered and I'm simply useless)
I have a text string with this format.
B4X:
And I need, based on it, to output a byte array with the format below.
B4X:
I have tried several times and either it throws me errors, or it shows me integers...
If I create the arraay by hand it works great
B4X:
But I want the array to be created based on the string, dynamically. I can't find a way.
I've been reading the forum for two days and I'm getting more and more lost. I'll tell you the problem (it's probably already answered and I'm simply useless)
I have a text string with this format.
B4X:
7C54C10DFCE9
And I need, based on it, to output a byte array with the format below.
B4X:
0x7C,0x54,0xC1,0x0D,0xFC,0xE9
I have tried several times and either it throws me errors, or it shows me integers...
If I create the arraay by hand it works great
B4X:
Dim keyb() As Byte = Array As Byte(0x7C,0x54,0xC1,0x0D,0xFC,0xE9)
But I want the array to be created based on the string, dynamically. I can't find a way.
برای دیدن لینک ها باید ثبت نام کنید