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

TouchSocketBitConverterGetBytes(UInt32) 方法

将无符号整数转换为指定字节序的4字节数组。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public byte[] GetBytes(
	uint value
)

参数

value  UInt32
要转换的无符号整数。

返回值

Byte
表示该无符号整数的4字节数组,按指定字节序排列。

参见