I'm reading a rowversion data type from SQL Server using Python and getting back a bytes representation like b'\x00\x00\x00\x00\x00\x00\x18\x9c'.
How can I decode this?
I've tried a few codecs but it's not returning the expected result. Decoded value should be 0x000000000000189c. I'm not seeing much on this data type and what the encoding is so I'm kinda lost.
Edit: I didn't need to decode, I needed to convert from bytes to hex (doh)