pub fn hex_to_bytes(hex_value: &str) -> Result<[u8; 32], ContentError>Expand description
0x-prefixed hex (32 bytes) -> [u8; 32].
§Errors
Fails with crate::ContentError::Cid when hex_value is not valid hex
or does not decode to exactly 32 bytes.