AlexWalterbos/image-reconstruction — pull request #10 by festen (2014-05-31 21:34:47+00:00)
Title: Bithelper

**Created a bithelper class to convert everthing from/to bits and bytes**

To convert to bits/bytes
```cs
var canvas = factory.GenerateRandomCanvas();
bool[] bits = canvas.AsBitArray();
byte[] bytes = canvas.AsByteArray();
```

To convert to canvas
```cs
var canvas = bits.AsCanvas();
var canvas = bytes.AsCanvas();
```

Bits to bytes (and vice-versa)
```cs
bits.AsByteArray();
byte.AsBitArray()
```

ToString methods
```cs
bits.toBitString();
bytes.toByteString();
```