question: public static byte [ ] hexStringToBytes ( final String hexString ) { return DatatypeConverter . parseHexBinary ( hexString ) ; }
target:  Converts a hex string to a byte array. If the hex string has an odd number of characters, a 0 is added at the end of the string. Example: 414141 => {0x41, 0x41, 0x41}