SyntaxFix
Write A Post
Hire A Developer
Questions
There are no primitive unsigned bytes in Java. The usual thing is to cast it to bigger type:
int anUnsignedByte = (int) aSignedByte & 0xff;