Sendit as a string from the arduino.
Then on the Processing side set up the serial to give you an interrupt when it sees a CR, in that call just read the whole string and then convert it.
Sendit as a string from the arduino.
Then on the Processing side set up the serial to give you an interrupt when it sees a CR, in that call just read the whole string and then convert it.