Dear friends,
I am unable to pass inline string to B4R byte array.
here is the partial inline C code:
Note that a1 is declared as:
I am logging a1 and am getting this output:
I am unable to pass inline string to B4R byte array.
here is the partial inline C code:
B4X:
String u1=adr[0];
byte b1[u1.length() + 1];
u1.getBytes(b1, sizeof(b1));
b4r_main::_a1->data = b1;
b4r_main::_a1->length = sizeof(b1);
Note that a1 is declared as:
B4X:
Dim a1() As Byte
B4X:
@��? ��?