public class EncodingUtils extends Object
For internal use only.
Modifier and Type | Method and Description |
---|---|
static byte[] |
concatenate(byte[]... arrays)
Combine the individual byte arrays into one array.
|
static byte[] |
subArray(byte[] array,
int beginIndex,
int endIndex)
Extract a sub array of bytes out of the byte array.
|
public static byte[] concatenate(byte[]... arrays)
public static byte[] subArray(byte[] array, int beginIndex, int endIndex)
array
- the byte array to extract frombeginIndex
- the beginning index of the sub array, inclusiveendIndex
- the ending index of the sub array, exclusive