Hex looks like this <<"0000000000005205">>. I want it to return 0x5205 instead of reading it as 383368918279913472. How would I do this?
Looks like it's big-endian. Use bigEndianToNative
from std.bitmanip.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With