On the Arduino, a byte is 8 bits. It can hold a value from 0 to 255 (0x00 to 0xFF).
If I send an integer that is 0x7F or smaller, I send one byte.
Yes.
If it is 0x80, I would send two bytes, the first being 0x00, the second would be 0x80.
No.
If it is 0xFF, I would send two bytes, the first being 0x00, the second being 0xFF.
No.
An int is 4 bytes. It can hold a value from -32767 to 32767. An unsigned int is 4 bytes, and can hold a value from 0 to 65535 (0x0000 to 0xFFFF).
If I want to send 0x7FFF, I would send two bytes, the first being 0x7F, the second 0xFF.
Yes.
If I want to send 0x8000,I would send three bytes, the first being 0x00, the second 0x80, and the third 0x00
No.