G
Guest
I'm looking to populate a byte array of some fixed size to send out over
a UDP connection. The data in the byte array is mixed between characters
and binary.
I'm a beginner to this language.
I can assign the character data by the byte. However, I'm not sure how I
would
assign a binary value to a certain location in a byte array where the value is
greater than 255. I have an unsigned short and want to assign it to a
specific
location in the byte array.
What is the best way to do this?
thanks!
a UDP connection. The data in the byte array is mixed between characters
and binary.
I'm a beginner to this language.
I can assign the character data by the byte. However, I'm not sure how I
would
assign a binary value to a certain location in a byte array where the value is
greater than 255. I have an unsigned short and want to assign it to a
specific
location in the byte array.
What is the best way to do this?
thanks!