public Byte(byte value) { var binary = Convert.ToString(value, 2).PadLeft(8, '0'); High = new Nibble(binary.Substring(0, 4)); Low = new Nibble(binary.Substring(4, 4)); }
public Byte(bool seven, bool six, bool five, bool four, bool three, bool two, bool one, bool zero) { High = new Nibble(seven, six, five, four); Low = new Nibble(three, two, one, zero); }
public Byte(Nibble high, Nibble low) { High = high; Low = low; }
public Byte(string value) { High = new Nibble(value.Substring(0, 4)); Low = new Nibble(value.Substring(4, 4)); }