List of utility methods to do Array Sub Array
byte[] | substr(byte[] array, int start, int count) substr return Arrays.copyOfRange(array, start, start + count);
|
byte[] | tail(final byte[] a, final int length) tail if (a.length < length) { return null; byte[] result = new byte[length]; System.arraycopy(a, a.length - length, result, 0, length); return result; |