How to convert from String Array [] to byte array []

I had FF as characters before, not the binary value 255/0xb11111111.
It's sending a character whose binary value is FF now.