I try to convert string to byte array. I know that the simplest way is to call string.getBytes()
, however...
Here's my string: 111dpd7.pl/wp
When I call getBytes()
it returns array like this:
[11, 49, 100, 112, 100, 55, 46, 112, 108, 47, 119, 112, 0]
I think this is some kind of different codeing, right ? How can I convert char like f.e. d , or p to byte correctly? Thanks in advance for help :)