One last college try for RF modules

How are you syncronizing the transmit and receive so the tx does not start until the rx is ready? As I see the code the tx just sends and the rx just receives so how do you know the complete byte was received?