byte[] bt = new byte[] {0xA0,0x13,0x77,0x8A,0xD5,0x30,0x00,0xE2,0x88,0x68,0x94,0x00,0x00,0x40,0x0F,0x43,0x93,0x95,0xC3,0x45 };
byte[] b1 = new byte[128];
//对byte数组进行赋值
for (int i=0,num=0;i<bt.Length;i++,num++)
{
b1[num] = bt[i];
}
Console.WriteLine(b1.Length);
相关文章
- 10-26可以对byte b1 数组进行赋值