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

ByteBlockReadInt16(EndianType) 方法

按指定字节序读取一个Int16类型的数据。

Definition

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

参数

endianType  EndianType
指定的字节序类型。

返回值

Int16
读取到的Int16数据。

实现

IByteBlockReadInt16(EndianType)

参见