byte sendData[255]; sendData[0] = 49; // ASCII code for "1" sendData[1] = 50; // ASCII for "2" etc, sendData[2] = 51; send(sendData,3); // 3-size
int x = 123; send(x,4); // One problem with this approach is endianness; I think above method does not suffer from endianness problems, am I right?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)