How to convert a String to a Byte[] ?

Obviously I want a String with a value of "1" to equal a byte value 1 not 49...

Then, your expectations are unreasonable. The value of '1' IS 49.

What is it you intend to do with the byte array?

Here's a hint, though. '1' - '0' = 1.