Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ushort2BytesLow;
- ushort2BytesHigh;
- If HiByte And &H80 Then
- 2BytesLow = ((HiByte1 * 0x100&) + LoByte1) Or 0xFFFF0000
- Else
- 2BytesLow = (HiByte1 * 0x100) + LoByte1
- End If
- If HiByte And &H80 Then
- 2BytesHigh = ((HiByte2 * 0x100&) + LoByte2) Or 0xFFFF0000
- Else
- 2BytesHigh = (HiByte2 * 0x100) + LoByte2
- End If
- uint32 4bytes = (2BytesHigh * 0x10000) + (2BytesLow And 0xFFFF)
Add Comment
Please, Sign In to add comment