protected static boolean unsignedFitsInByte(int value) {
    return value == (value & 0xff);
  }
Helper method to determine if an unsigned int value fits in a byte.

@param value the value in question
@return {@code true} iff it's in the range 0..0xff
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/InsnFormat.java