HOW DO I WIRE. WRITE INTEGER GREATER THAN 255!!!!!!

Hi all i am new to arduino and was trying communication between two arduinos using wire library. i noticed that i can only transfer from 0 to 255. i want to be able to transfer greater plus and minus ranges, or transfer string data. i connected a pot to master arduino to read with slave, from 0 to 1024 and notice value starts back from 0 once reach 255. Can some one help please or point me in right direction.

master_writer.ino (648 Bytes)

slave_receiver.ino (978 Bytes)

Split the int into two bytes, using highByte() and lowByte() OR send the value as a string.