TouchSocketBitConverterGetBytes(Byte, Int16) 方法
将16位整数转换为指定字节序,并存储在指定的字节缓冲区中。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public void GetBytes(
ref byte buffer,
short value
)
Public Sub GetBytes (
ByRef buffer As Byte,
value As Short
)
member GetBytes :
buffer : byte byref *
value : int16 -> unit
参数
- buffer Byte
- 目标字节缓冲区。
- value Int16
- 要转换的16位整数。