Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java combine to byte[]

public static byte[] addAll(final byte[] array1, byte[] array2) {
    byte[] joinedArray = Arrays.copyOf(array1, array1.length + array2.length);
    System.arraycopy(array2, 0, joinedArray, array1.length, array2.length);
    return joinedArray;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #combine
ADD COMMENT
Topic
Name
5+9 =