Byte集合转数组的问题,在线等
求助:
List<Byte> bList = new ArrayList<Byte>();
bList.add((byte)1);
bList.add((byte)2);
bList.add((byte)3);
bList.add((byte)4);
System.out.println("hello");
for (int i = 0; i < bList.size(); i++) {
System.out.println("--->>"+bList.get(i));
}
byte[] bArr = new byte[bList.size()];
//如何将bList赋给bArr,C#中bList.CopyTo(bArr),在Java中该怎么处理
...全文


