Saving arrays in EEPROM using ARDUINOMEGA

It is saved as int....
int reference = 323;

But the EEPROM is only byte wide.

sizeof (byte) == sizeof (int) / 2 (for the Arduino)