Yes. Biggest puzzle of modern computing - how they manage to send anything that is bigger than single bit, over any serial interface? :)
Simple answer: both parties know the rules how huge pile of data will be split into smaller chunks. The rules can be and mostly are different for each kind of application specifics.