TouchSocketBitConverterGetBytes(Int16) 方法
将16位整数转换为指定字节序的字节数组。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public byte[] GetBytes(
short value
)
Public Function GetBytes (
value As Short
) As Byte()
member GetBytes :
value : int16 -> byte[]
- value Int16
- 要转换的16位整数。
Byte包含转换后字节的字节数组。