> At least Java 8 introduced unsigned math helper methods.
They still aren't enough IMO. They don't have way ways to take LE/BE bytes out of integers or vice versa (not worth creating ByteBuffer for). I always end up recreating these utilities in projects where it isn't worth depending on or shading an entire Guava, e.g. [0]
Except chars
> At least Java 8 introduced unsigned math helper methods.
They still aren't enough IMO. They don't have way ways to take LE/BE bytes out of integers or vice versa (not worth creating ByteBuffer for). I always end up recreating these utilities in projects where it isn't worth depending on or shading an entire Guava, e.g. [0]
0 - https://github.com/cretz/javan-warty-pig/blob/master/fuzz/sr...