public void Hexadecimal_String_To_Bytes_InvalidFormat([Values("0", "0X", "X0")] string hex) { Assert.Throws <FormatException>(() => ByteConvert.FromHex(hex)); }
public byte[] Hexadecimal_String_To_Bytes(string hex) { return(ByteConvert.FromHex(hex)); }