But I think it is better to cast all the bytes to the final type (e.g. uint32) before shifting, not unknown types like unsigned int.
But I think it is better to cast all the bytes to the final type (e.g. uint32) before shifting, not unknown types like unsigned int.