Is there any preference when sending data as to send it byte by byte or sending
a whole buffer (the whole file) at once?

Is the latter faster than the former for example?