/// <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 ConversionBinary(ConversionHexadecimal hexData) { createArray(hexData.ToBytes()); }
/// <summary> /// Convert to Hex number. /// </summary> /// <returns>Hex number that represents the binary value of this instance.</returns> public ConversionHexadecimal ToHex() { ConversionHexadecimal hexData = new ConversionHexadecimal(this.ToBytes()); return hexData; }
/// <summary> /// Initialize a new instance of this class from another instance of "Hex" value. /// </summary> /// <param name="hexData">Hex value.</param> public ConversionHexadecimal(ConversionHexadecimal hexData) { bytes = hexData.ToBytes(); }