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

ByteBlockWriteUInt16(UInt16, EndianType) 方法

根据指定的字节顺序写入一个无符号16位整数。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public void WriteUInt16(
	ushort value,
	EndianType endianType
)

参数

value  UInt16
要写入的无符号16位整数值。
endianType  EndianType
指定的字节顺序。

实现

IByteBlockWriteUInt16(UInt16, EndianType)

参见