点击或拖拽改变大小

ByteTransformBaseTransSingle 方法 (Byte, Int32)

从缓存中提取float结果,需要指定起始的字节索引,按照字节为单位,一个float占用四个字节 To extract the float result from the cache, you need to specify the starting byte index, in units of bytes, A float occupies four bytes

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public virtual float TransSingle(
	byte[] buffer,
	int index
)

参数

buffer
类型:SystemByte
缓存对象
index
类型:SystemInt32
索引位置

返回值

类型:Single
float对象

实现

IByteTransformTransSingle(Byte, Int32)
参见