转换字节数组位阵列? [英] Convert Byte Array to Bit Array?
本文介绍了转换字节数组位阵列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎么会去的ByteArray转换为位阵列?
How would I go about converting a bytearray to a bit array?
推荐答案
最显而易见的方法;使用需要一个字节数组构造器:
The obvious way; using the constructor that takes a byte array:
BitArray bits = new BitArray(arrayOfBytes);
这篇关于转换字节数组位阵列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文