Function ecvrf_rs::decode_hex
source · [−]pub fn decode_hex(s: &str) -> Result<Vec<u8>, ParseIntError>
Expand description
Decodes a hex-encoded string into a byte array.
Errors
This function will return an error if the string is not hex-encoded.