I see what you are doing. You are obtaining a String, changing it to byte, then changing the byte to char...

Could it be thats missing the array state of [] ?

I think there are easier...