ByteConversions { @Nonnull static Boolean byteToBoolean(@Nonnull UByte ub) { return ub.intValue() != 0; } private  ByteConversions();   }
@Test public void testByteToBoolean() { assertEquals(byteToBoolean(ubyte(0)), Boolean.FALSE); assertEquals(byteToBoolean(ubyte(1)), Boolean.TRUE); }