Returns the value of the given byte as an integer, when treated as unsigned. That is, returns value + 256 if value is negative; value itself otherwise. @since 6.0
(byte value)
| 74 | |
| 75 | |
| 76 | public static int toInt(byte value) { |
| 77 | return value & UNSIGNED_MASK; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Returns the {@code byte} value that, when treated as unsigned, is equal to {@code value}, if |
no outgoing calls
no test coverage detected