Is it possible to parse a string of 0 and 1 into a BitArray or Byte or any other bit oriented object? What bit oriented object or library should I use to help me to manipulate bits?
Asked
Active
Viewed 103 times
0
-
you can use `BitArray` collection – styx Sep 13 '18 at 11:02
-
sorry, for asking but did you try to research before posting? As to the second question: [try the BitArray](https://learn.microsoft.com/en-us/dotnet/api/system.collections.bitarray?redirectedfrom=MSDN&view=netframework-4.7.2) – Mong Zhu Sep 13 '18 at 11:03
-
Do you mean parsing a string with binary number to get decimal number? – Paviel Kraskoŭski Sep 13 '18 at 11:12
-
Of course I did a search but I never found any answer of this. Strange... – Bastien Vandamme Sep 13 '18 at 11:39