Is it possible to create struct that I can cast to a buffer of variable size? For example if I have some data that looks something like this:
0 1 2 3 4 5