BitArrayExtensionMethods

public static class BitArrayExtensionMethods
Extension methods for System.Collections.BitArray

Methods

Deflate

#Example
Compress an array of bytes by deflating it.
public static byte[] Deflate(
this byte[]
array
Array to deflate.
)
Compressed data.

Inflate

#Example
Decompress an array of bytes by inflating it.
public static byte[] Inflate(
this byte[]
array
Array to inflate.
)
Decompressed data.

ToString

#Example
Count the number of times a specific string occurs in this string.
public static string ToString(
this BitArray
bits,
Bitarray to format.
frequency
Dot frequency, may not be negative.
)
Formatted bit-array.

ToString

#Example
Count the number of times a specific string occurs in this string.
public static string ToString(
this BitArray
bits,
Bitarray to format.
zero,
The zero string.
one,
The one string.
separator,
Separator string.
frequency
Separator frequency, may not be negative.
)
Formatted bit-array.