fctom1215
2020-02-23 b81d0cf47a08b3b5de01bf753fb71f6d1fda783a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.safeluck.aykj.utils;
 
import android.util.Log;
 
import static com.anyun.im_lib.util.ByteUtil.byte2HexStr;
 
public class ArrayUtils {
 
    public static byte[] subArray(byte[] srcBytes, int begin, int length) {
        byte[] bytes = new byte[length];
        System.arraycopy(srcBytes,begin,bytes,0,length);
        Log.i("ArrayUtils", "subArray: "+byte2HexStr(bytes));
        return bytes;
    }
}