lizhanwei
2020-03-02 7a621d952fb83005ce7b6db82f9b2206746562be
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;
    }
}