TouchSocketBitConverterGetBytes(UInt16) 方法
将ushort类型值转换为字节数组。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public byte[] GetBytes(
ushort value
)
Public Function GetBytes (
value As UShort
) As Byte()
member GetBytes :
value : uint16 -> byte[]
- value UInt16
- 要转换的ushort类型值。
Byte转换后的字节数组。