BitArray.GetBytes Method (console safe)
Serializes the BitArray to a string.

GetBytes()
as String
Parameters
Returns
- String
- Serialized string representation of the BitArray.
Remarks
The string can be deserialized back to string by using the constructor overload that takes in string and bit count.
See Also
BitArray Class