public final class Arrays
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
Arrays() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
copyOfRange(byte[] data,
int from,
int to)
Make a copy of a range of bytes from the passed in data array.
|
private static int |
getLength(int from,
int to) |
public static byte[] copyOfRange(byte[] data,
int from,
int to)
data - the array from which the data is to be copied.from - the start index at which the copying should take place.to - the final index of the range (exclusive).private static int getLength(int from,
int to)