一款简单易用的基础网络通讯组件库。

TouchSocketBitConverterGetBytes(Byte, Int32) 方法

将整数转换为指定字节序,并存储在给定的字节数组中。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public void GetBytes(
	ref byte buffer,
	int value
)

参数

buffer  Byte
存储转换结果的字节数组。
value  Int32
要转换的整数。

参见