Hello
I clearly don't understand how to use byteconvert. I have a long derived from a datetime dialog (yesterday's post). I now need to convert it into a byte array (manager.WriteData(data() as byte)
I am confused. So my result from my date time picker for example is: 1714156680 (0x662BF488)
How do I convert that into something I can send over bluetooth. In my simple mind I would loop through each character and send it as a byte and re-construct it at the other end but surely there is "the correct" way to do it.
I clearly don't understand how to use byteconvert. I have a long derived from a datetime dialog (yesterday's post). I now need to convert it into a byte array (manager.WriteData(data() as byte)
I am confused. So my result from my date time picker for example is: 1714156680 (0x662BF488)
How do I convert that into something I can send over bluetooth. In my simple mind I would loop through each character and send it as a byte and re-construct it at the other end but surely there is "the correct" way to do it.