[b98fa55285]: Fix handling of whitespace at end of hex strings to decode.