开发者

How to separate four bytes of floats?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜