[Win32utils-devel] IO.read - binary by default?

Patrick Hurley phurley at gmail.com
Thu Sep 20 08:27:20 EDT 2007

On 9/20/07, Daniel Berger <djberg96 at gmail.com> wrote:
> I'm sick of hitting bugs in 3rd party libs where the issue is that the
> authors didn't do a binary read on the data. It's hard to track down
> sometimes and it currently makes creating cross-platform code more
> difficult.

I agree

> Is there *any* downside to making IO.read binary by default (on Windows)
> that anyone can think of?

When reading a text file with \r\n line endings, it will not "split" the same.


More information about the win32utils-devel mailing list