@Test public void toByteExact_minNegativeValue() { final int value = -128; final byte byteValue = ByteUtil.toByteExact(value); assertThat(byteValue).isEqualTo((byte) value); }
public static byte toByteExact(final int value) throws IllegalArgumentException { return castToByteExact(value); }
ByteUtil { public static byte toByteExact(final int value) throws IllegalArgumentException { return castToByteExact(value); } }
ByteUtil { public static byte toByteExact(final int value) throws IllegalArgumentException { return castToByteExact(value); }  }
ByteUtil { public static byte toByteExact(final int value) throws IllegalArgumentException { return castToByteExact(value); }  static int toUnsignedInt(final byte value); static byte toByteExact(final int value); static byte toByteExactUnsigned(final int value); }
ByteUtil { public static byte toByteExact(final int value) throws IllegalArgumentException { return castToByteExact(value); }  static int toUnsignedInt(final byte value); static byte toByteExact(final int value); static byte toByteExactUnsigned(final int value);  }