Hey all,

I have a value that is stored in a 64 bit integer that I'd like to break down into a bunch of bit fields, ie byteOffset: 6 etc. I've created a struct with a two unions: one for the entire value and one for the broken down values. I was told shifting is not a good method, does anyone know what the best way is?

Thanks,

CoDEFRo