Convert class and byte arrays
I want to convert to byte from other variable types without losing information. For example, I want to convert Int32 to 4 bytes or Float into 4 bytes, and put them into a byte array.
It looks like the Convert.ToByte(int32) will only convert to one byte, therefore I lose 3 bytes worth of information..... I am not sure, can any one offer advice?
andrewPosted Feb 23, 2004, 2:44 PM
richang76Posted Feb 23, 2004, 2:16 PM
andrewPosted Feb 20, 2004, 9:36 PM