Yes, just read in the first byte, and then read in the rest of the data, 
calling ntoh or hton as needed on each datum.

Reply via email to