public static byte [ ] hexStringToByte ( String hexString ) { try { return Hex . decodeHex ( hexString . toCharArray ( ) ) ; } catch ( DecoderException e ) { throw new UnexpectedException ( e ) ; } }
Transform an hexadecimal String to a byte array .