In ZXing return I have code:
result.getContents().substring(0, 1)
And I would like get first char and return his char-code. The geting first char work correctly, but I don't found code to change char to char code.
Any Ideas?
int charCode = (int) result.getContents().substring(0, 1).charAt(0);
Note: substring(0,1)
might be unnecessary here.