I need to build an array of bytes containing hexadecimal values: (0x32, 0xF0, 0xE0). When I insert the values into the array, I get:
50 (0x32)
-16 (0xFFFFFFF0)
-32 (0xFFFFFFE0)
Instead, I need them to remain in the original format: (0x32, 0xF0, 0xE0).
I tried using
but it doesn't work.
Do you have a solution?
50 (0x32)
-16 (0xFFFFFFF0)
-32 (0xFFFFFFE0)
Instead, I need them to remain in the original format: (0x32, 0xF0, 0xE0).
I tried using
B4X:
Messaggio() As Byte = ARRAY AS BYTE(0x32, Bit.And(0xF0, 0xFF), Bit.And(0xE0,0xFF))
but it doesn't work.
Do you have a solution?