TouchSocketBitConverterGetBytes(Single) 方法
将浮点数转换为指定字节序的4字节数组。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public byte[] GetBytes(
float value
)
Public Function GetBytes (
value As Single
) As Byte()
member GetBytes :
value : float32 -> byte[]
- value Single
- 要转换的浮点数。
Byte转换后的字节数组。