Converting an unsigned byte array to an integer

java I found myself today needing to deal with unsigned integers, and shorts in java. In Java there is no unsigned keyword like in C, or other languages. All primitives are signed (meaning they can hold negative values).

This entry was:


did you hack my cf?