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

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

Description

copy Bytes Into Byte Array Up To Length

License

Open Source License

Declaration

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

Method Source Code

//package com.java2s;

public class Main {
    public static void copyBytesIntoByteArrayUpToLength(byte[] dest,
            byte[] src, int offset) {
        for (int i = 0; i < offset; i++) {
            dest[i] = src[i];//  w  ww  . jav  a  2s .  c om
        }
    }
}

Related

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