Java Array Copy arrayCopy(byte[] in, int inOff, int length, byte[] out, int outOff)

Here you can find the source of arrayCopy(byte[] in, int inOff, int length, byte[] out, int outOff)

Description

array Copy

License

Open Source License

Declaration

public static void arrayCopy(byte[] in, int inOff, int length, byte[] out, int outOff) 

Method Source Code

//package com.java2s;
// it under the terms of the GNU General Public License as published by

public class Main {
    public static void arrayCopy(byte[] in, int inOff, int length, byte[] out, int outOff) {
        for (int i = inOff; i < inOff + length; i++) {
            out[outOff + i - inOff] = in[i];
        }/*from w ww  .  ja  v  a2 s  . c  o  m*/
    }
}

Related

  1. arrayBig2Small(int[] big, int bigWidth, int[][] small, int startRow, int startCol, int endRow, int endCol)
  2. arrayCopy(byte[] dest, int offset, byte[] in)
  3. arrayCopy(byte[] source, byte[] dest)
  4. arrayCopy(byte[] source, byte[] dest)
  5. arraycopy(byte[] src, int destLen, int len)
  6. arraycopy(byte[] src, int src_position, byte[] dst, int dst_position, int length)