Could anyone, please guide me as how to separate 4 bytes of float开发者_如何学Go in Visual Studio C#, and retrieve each byte as a character? As I need to save each byte of float as hex value in a text (.hex
) file.
Regards Asad
Use the BitConverter class to convert from float to a byte array.
精彩评论