You don't want the String.getBytes() method. That's going to convert the characters of the string into their byte representations.
To do what you're looking to do, you're going to need to manually split the string into individual strings, one for each pair. Then, you're going to want to parse them.
Unfortunately, Java doesn't have unsigned bytes, and 0xC2 is going to overflow. You'll probably going to want to treat the values as shorts, or integers if memory isn't an issue.
So, you can use the Integer class to parse strings into numbers. Since your strings are hexidecimal, you'll have to use the parse method that lets you supply the radix.
String test = "1B4322C2";
for (int bnum = 0; bnum < test.length() / 2; bnum++) {
String bstring = test.substring(bnum * 2, bnum * 2 + 2);
int bval = Integer.parseInt(bstring, 16);
System.out.println(bstring + " -> " + bval);
}
This will output:
1B -> 27
43 -> 67
22 -> 34
C2 -> 194
If you need them in an array, you can instantiate an array that is half the width of the string and them put each value under its bnum
index.