| IByteTransformTransBool 方法 (Byte, Int32) | 
 
            从缓存中提取出bool结果,需要传入想要提取的位索引,注意:是从0开始的位索引,10则表示 buffer[1] 的第二位。
            To extract the bool result from the cache, you need to pass in the bit index you want to extract. Note: the bit index starts from 0, and 10 represents the second bit of buffer[1].
            
 
        命名空间: 
     HslCommunication.Core
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法bool TransBool(
	byte[] buffer,
	int index
)
Function TransBool ( 
	buffer As Byte(),
	index As Integer
) As Boolean
bool TransBool(
	array<unsigned char>^ buffer, 
	int index
)
abstract TransBool : 
        buffer : byte[] * 
        index : int -> bool 
参数
- buffer
- 类型:SystemByte
 等待提取的缓存数据
- index
- 类型:SystemInt32
 位的索引,注意:是从0开始的位索引,10则表示 buffer[1] 的第二位。
返回值
类型:
Boolean表示不是 
true 就是 
false 的 bool 数据
 参见
参见