Java Utililty Methods Array Sub Array

List of utility methods to do Array Sub Array

Description

The list of methods to do Array Sub Array are organized into topic(s).

Method

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;