Java Byte Array Value Set setbytes(byte dest[], int offset, byte src[])

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

Description

setbytes

License

Open Source License

Declaration

public static final byte[] setbytes(byte dest[], int offset, byte src[]) 

Method Source Code

//package com.java2s;

public class Main {
    public static final byte[] setbytes(byte dest[], int offset, byte src[]) {
        System.arraycopy(src, 0, dest, offset, src.length);
        return dest;
    }//from   ww w .  j  a v  a 2s  . c o m

    public static final byte[] setbytes(byte dest[], int offset, byte src[], int len) {
        System.arraycopy(src, 0, dest, offset, len);
        return dest;
    }
}

Related

  1. setbyte(byte dest[], int offset, byte b)
  2. setByte(byte value, byte[] bytes, int offset)
  3. setByte(byte[] buffer, int index, int val)
  4. setByte(byte[] byteArray, int offset, byte b)
  5. setBytes(byte[] destination, int offset, byte[] source)
  6. setBytes(byte[] setTo, int startTo, byte[] setFrom, int startFrom, int len)
  7. setBytes(final byte[] dest, final byte[] data, final int offset, int length)
  8. setBytes(int value, int offset, byte[] bytes)