/// <summary> /// Convert to Hex number. /// </summary> /// <returns>Hex number that represents the binary value of this instance.</returns> public Hex ToHex() { Hex hexData = new Hex(this.ToBytes()); return(hexData); }
/// <summary> /// Initialize a new instance of this class from an instance of "Hex" data. /// </summary> /// <param name="hexData">Hexadecimal data that will be used to create a bit array.</param> public Bits(Hex hexData) { createArray(hexData.ToBytes()); }