I am playing round with a new file format and needed precision to the nearest nano second so opted for Int64 over 32 (as this would only give me a couple of seconds as signed int ). But as Int64 there’s lots of wasted zeros bloat in file.
I have working 6 byte 48bit being shifted and cast. But I can hear Jules saying don’t do it. I remember a couple of years back seeing something in documentation about a truncated long (or I could be thinking of something else entirely) that would do the same operation but probably better… Is there anything like that ?