点击或拖拽改变大小

IByteTransformTransBool 方法

重载列表
  名称说明
公共方法TransBool(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].
公共方法TransBool(Byte, Int32, Int32)
从缓存中提取出bool数组结果,需要传入想要提取的位索引,注意:是从0开始的位索引,10则表示 buffer[1] 的第二位。长度为 bool 数量的长度,传入 10 则获取 10 个长度的 bool[] 数组。
To extract the result of the bool array 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]. The length is the length of the number of bools. If you pass in 10, you will get a bool[] array of 10 lengths.
Top
参见