@Test public void testAllEquals() throws Exception { }
public static boolean allEquals(byte[] array, byte value, int offset, int maxLength) { maxLength = Math.min(offset + maxLength, array.length); for(int i = offset; i < maxLength; i++) { if(array[i] != value) { return false; } } return true; }
ByteUtils { public static boolean allEquals(byte[] array, byte value, int offset, int maxLength) { maxLength = Math.min(offset + maxLength, array.length); for(int i = offset; i < maxLength; i++) { if(array[i] != value) { return false; } } return true; } }
ByteUtils { public static boolean allEquals(byte[] array, byte value, int offset, int maxLength) { maxLength = Math.min(offset + maxLength, array.length); for(int i = offset; i < maxLength; i++) { if(array[i] != value) { return false; } } return true; }  }
ByteUtils { public static boolean allEquals(byte[] array, byte value, int offset, int maxLength) { maxLength = Math.min(offset + maxLength, array.length); for(int i = offset; i < maxLength; i++) { if(array[i] != value) { return false; } } return true; }  static boolean allEquals(byte[] array, byte value, int offset, int maxLength); static int indexOf(byte[] array, byte needle, int offset, int maxLength); static byte[] trim(byte[] src, byte padding, boolean right, int minLength); static byte[] toByteArray(InputStream inputStream); }
ByteUtils { public static boolean allEquals(byte[] array, byte value, int offset, int maxLength) { maxLength = Math.min(offset + maxLength, array.length); for(int i = offset; i < maxLength; i++) { if(array[i] != value) { return false; } } return true; }  static boolean allEquals(byte[] array, byte value, int offset, int maxLength); static int indexOf(byte[] array, byte needle, int offset, int maxLength); static byte[] trim(byte[] src, byte padding, boolean right, int minLength); static byte[] toByteArray(InputStream inputStream);  }