Java Array Delete arrayDelete(byte[] array, int length)

Here you can find the source of arrayDelete(byte[] array, int length)

Description

array Delete

License

Open Source License

Declaration

public static byte[] arrayDelete(byte[] array, int length) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static byte[] arrayDelete(byte[] array, int length) {
        byte[] newArray = new byte[array.length - length];
        System.arraycopy(array, length, newArray, 0, array.length - length);
        return newArray;
    }//from   www.ja  v  a  2  s  .c  om
}

Related

  1. arrayDelete(final int[] arr, final int ind)