Support for converting hex sequences to bytes.