RegularByteTransformTransUInt16 方法 (Byte, Int32) |
从缓存中提取ushort结果,需要指定起始的字节索引,按照字节为单位,一个ushort占用两个字节
To extract ushort results from the cache, you need to specify the starting byte index, in bytes, A ushort occupies two bytes
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public virtual ushort TransUInt16(
byte[] buffer,
int index
)
Public Overridable Function TransUInt16 (
buffer As Byte(),
index As Integer
) As UShort
public:
virtual unsigned short TransUInt16(
array<unsigned char>^ buffer,
int index
)
abstract TransUInt16 :
buffer : byte[] *
index : int -> uint16
override TransUInt16 :
buffer : byte[] *
index : int -> uint16
参数
- buffer
- 类型:SystemByte
缓存数据 - index
- 类型:SystemInt32
索引位置
返回值
类型:
UInt16ushort对象
实现
IByteTransformTransUInt16(Byte, Int32)参见