How do I concatenate 2 bytes?

前端 未结 6 1802
萌比男神i
萌比男神i 2021-02-08 02:18

I have 2 bytes:

byte b1 = 0x5a;  
byte b2 = 0x25;

How do I get 0x5a25 ?

6条回答
提交回复
热议问题