[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binary vs non-binary ports

This page is part of the web mail archives of SRFI 56 from before July 7th, 2015. The new archives for SRFI 56 contain all messages, not just those from before July 7th, 2015.

Bradd W. Szonye wrote:

Per Bothner wrote:

Well, yes.  The points I'm making are:
* One layers text i/o on top of binary i/o.

Not in general. That's the easiest way to do it on the "all files are
streams of bytes" used by Unix and Windows, but those aren't the only
operating systems in the worlds. Many systems still use record-based
files and other oddities where you usually implement "binary" I/O on top
of the text or record interface to create the illusion of a byte stream.

You'd still not layer binary i/o on top of text i/o.   You can layer
binary i/o on top of record i/o.
	--Per Bothner
per@xxxxxxxxxxx   http://per.bothner.com/