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

ByteBlockReadUInt16(EndianType) 方法

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

Definition

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

参数

endianType  EndianType
指定的字节顺序。

返回值

UInt16
读取到的无符号16位整数。

实现

IByteBlockReadUInt16(EndianType)

参见