RFID legic in arduino

Hi all I have legic RFID redar i was connected to arduino virtual serial TX and RX and I have all command for legic reader I send in HEX and i received.
Every command have different number of byte and also the received data in this case no load zero
If i send command (0x04;0x00;0x05;0x6D) i received
5 must 05
0 must 00
4 must 04
67
7F
I need to read uid and data segmet and every one have different byte.

5 must 05
0 must 00
4 must 04

Their is no diferance between those numbers, it is just that the print statement has leading zero suppression. The actual numbers are 04,05 and so on.
If it is for a uid just shift and or the bytes together into a long long type variable.