Hello all,
A relatively simple question I hope. I would like to convert a structure to a byte array, I thought the best way to do it would be by either incrementing a byte pointer for the start of the struct and writing it in, within a loop.
Am I barking up the wrong tree? Is there a function which will accomplish the same, but simpler?
Thanks in advance,
Mark
A relatively simple question I hope. I would like to convert a structure to a byte array, I thought the best way to do it would be by either incrementing a byte pointer for the start of the struct and writing it in, within a loop.
Am I barking up the wrong tree? Is there a function which will accomplish the same, but simpler?
Thanks in advance,
Mark