Fills the specified array with the specified element. @param array the byte array to fill. @param value the byte element.
(byte[] array, byte value)
| 469 | * the {@code byte} element. |
| 470 | */ |
| 471 | public static void fill(byte[] array, byte value) { |
| 472 | for (int i = 0; i < array.length; i++) { |
| 473 | array[i] = value; |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | /** |
| 478 | * Fills the specified range in the array with the specified element. |
no test coverage detected