shuijian-xu / bitcoin

0 stars 0 forks source link

Java copy array issue #255

Open shuijian-xu opened 4 years ago

shuijian-xu commented 4 years ago

b1[] = {ab ef 1f 6a} b2[] = {00 00 00 00 00 00 00 00}

b3[] = {00 00 00 00 ab ef 1f 6a} b4[] = {ab ef 1f 6a 00 00 00 00}

I can use System.arraycopy(b1, 0, b2, 0, b1.length); to get b4. Now i want to know how to get b3?