Convert int bits to float bits

前端 未结 6 1277
醉话见心
醉话见心 2020-12-04 02:50

I\'m in the process of creating a buffer that will read/write in a banner in which I can completely eradicate the problems that comes with TCP-Segmentation. The only problem

6条回答
  •  暖寄归人
    2020-12-04 03:21

    The keyword float is an alias for the data type System.Single.

    You can use the BitConverter.ToSingle to convert four bytes into a float.

提交回复
热议问题