pub fn decode_to_slice(hex: &str, out: &mut [u8]) -> Result<(), DecodeError>
Decodes a hex string into an output buffer. This is also designed to be (likely) constant time.