pub(crate) fn decode_hex(s: &str) -> Result<Vec<u8>, AgraError>Expand description
Decode xs:hexBinary, tolerating the whitespace the type permits.
Hand-rolled rather than hex::decode on a filtered copy, which would hold
the whole payload twice: once stripped, once decoded. Refuses before
allocating past MAX_DECODED_PAYLOAD rather than after.