SyntaxFix
Write A Post
Hire A Developer
Questions
The simplest way (using Apache Common Codec):
byte[] bytes = Hex.decodeHex(str.toCharArray());