コード例 #1
0
 /// <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());
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <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();
 }