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

ValueByteBlockWriteInt16(Int16, EndianType) 方法

按指定字节序写入一个Int16类型的数据。

Definition

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

参数

value  Int16
要写入的Int16数据。
endianType  EndianType
指定的字节序类型。

实现

IByteBlockWriteInt16(Int16, EndianType)

参见