What will you put in data? Is data[0] the Least significant figure or the most significant figure? Are numbers stored in binary form or decimal? Put another way, does data[0] contain 32 bits? Or 9 digits? Or is it BCD and it contains 8 digits? How will you handle negative numbers?
In other words, you need to define exactly what you want in these fields before you can figure out how to put it there.