Splitting out a frame of bytes

I think it will work if the bit fields are bit fields of an int32_t (int64_t).

And as far as I remember, bit fields are always packed.