Skip to main content

decode_0x_bytes

Function decode_0x_bytes 

Source
pub fn decode_0x_bytes(s: &str) -> Result<Vec<u8>, String>
Expand description

Decode a 0x-prefixed or bare hex string into raw bytes.