从字节数组中提取位 [英] Extracting bits from bytearray
本文介绍了从字节数组中提取位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我想从字节数组中提取位的范围,然后再次将这些位转换为字节数组.
I want to extract range of bits from byte array and then again convert those bits to byte array .
是否有实现这一目标的适当逻辑.
Is there a proper logic for achieving this .
谢谢
Kapil
Kapil Gupta
Kapil Gupta
推荐答案
我想从字节数组中提取位的范围
I want to extract range of bits from byte array
您看过这个吗?
BitArray构造函数(Byte [])
https://msdn.microsoft.com/en-us/library/x1xda43a (v = vs.110).aspx
-韦恩
Have you looked at this?
BitArray Constructor (Byte[])
https://msdn.microsoft.com/en-us/library/x1xda43a(v=vs.110).aspx
- Wayne
这篇关于从字节数组中提取位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文