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;
| }
| }
|
|