问题
I have timestamps that are represented in 64-bit hex. Is there a way to convert it to nanosecond timestamps? (preferably in c++)
回答1:
Found it!
I used std::hex to convert a hex value to long, which in turn gives me the nanosecond precision.
来源:https://stackoverflow.com/questions/36731370/convert-64-bit-hex-to-nanoseconds-timestamps