Android Byte Array Copy getCopyByteArray(byte[] src, int start, int length)

Here you can find the source of getCopyByteArray(byte[] src, int start, int length)

Description

get Copy Byte Array

License

Open Source License

Declaration

public static byte[] getCopyByteArray(byte[] src, int start, int length) 

Method Source Code

//package com.java2s;

public class Main {
    public static byte[] getCopyByteArray(byte[] src, int start, int length) {
        byte[] dest = new byte[length];
        System.arraycopy(src, start, dest, 0, length);
        return dest;
    }/*from   w w w  .  j ava2  s .  com*/
}

Related

  1. copy(byte[] from)
  2. copy(byte[] rSource)
  3. copy(byte[] source, byte[] target)
  4. copyByteArray(byte[] source)
  5. getCopyByteArrayArray(byte[] src, int start, int length, int subArrayLength)