点击或拖拽改变大小

IByteTransformTransByte 方法 (Boolean)

将bool数组变量转化缓存数据,如果数组长度不满足8的倍数,则自动补0操作。
Convert the bool array variable to the cache data. If the length of the array does not meet a multiple of 8, it will automatically add 0.

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
byte[] TransByte(
	bool[] values
)

参数

values
类型:SystemBoolean
等待转化的数组

返回值

类型:Byte
buffer数据
参见