Actually I need to transfer the integer value along with the bitmap via bluetooth.. Now my problem is I need to transfer the in
integer
bitmap
bluetooth
in
A single byte (8 bits) can only contain 2^8 unsigned integers, i.e [0, 255]. For signed you loose the first bit and the range becomes [-128, 127]. If your integer fits then a simple cast should work.