[][src]Function bitcoin_spv::utils::force_deserialize_hex

pub fn force_deserialize_hex(s: &str) -> Vec<u8>

Deserialize a hex string into bytes. Panics if the string is malformatted.

Arguments

  • s - The hex string

Panics

When the string is not validly formatted hex.