Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watcgl.UUCP Path: utzoo!watmath!watcgl!dmmartindale From: dmmartindale@watcgl.UUCP (Dave Martindale) Newsgroups: net.lang.c Subject: Re: portable binary io, or, solving the byte order problem Message-ID: <931@watcgl.UUCP> Date: Thu, 6-Oct-83 14:56:18 EDT Article-I.D.: watcgl.931 Posted: Thu Oct 6 14:56:18 1983 Date-Received: Fri, 7-Oct-83 10:40:42 EDT References: <498@hcr.UUCP> Organization: U of Waterloo, Ontario Lines: 7 Why do you pick the high-byte-first order as the example of a standard? Low-byte-first seems just as natural, and would be more efficient on the most common UNIX machines (DEC hardware). If you are going to produce something really portable, you should come up with some way of dealing with 6, 7, 9, and 10-bit bytes and word lengths which may be neither a multiple of 8 nor a multiple of the byte size.