I've a newbie question about Java type manipulation. I want to split a float variable and an int variable into bytes.
My question is, how I can split this variables?
Something like this:
int or float variable = 1000;
byte variable_byte[3];
variable_byte[0] = 0x00;
variable_byte[1] = 0x00;
variable_byte[2] = 0x03;
variable_byte[3] = 0xE8;