Android Byte Array Concatenate copyBytesIntoByteArrayAtOffset(byte[] dest, byte[] src, int offset)

Here you can find the source of copyBytesIntoByteArrayAtOffset(byte[] dest, byte[] src, int offset)

Description

copy Bytes Into Byte Array At Offset

License

Open Source License

Declaration

public static void copyBytesIntoByteArrayAtOffset(byte[] dest,
            byte[] src, int offset) 

Method Source Code

//package com.java2s;

public class Main {
    public static void copyBytesIntoByteArrayAtOffset(byte[] dest,
            byte[] src, int offset) {
        for (int i = 0; i < src.length; i++) {
            dest[offset + i] = src[i];/*from w  w w  .  j ava  2 s.  c  o m*/
        }
    }
}

Related

  1. concat(byte[] a, byte[] b)
  2. concat(byte[] base, byte... extension)
  3. concat(int[] base, int... extension)
  4. concatByteArray(byte[] a, byte[] b)
  5. copyBytesIntoByteArray(byte[] dest, byte[] src)
  6. copyBytesIntoByteArrayUpToLength(byte[] dest, byte[] src, int offset)