[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: I/O operations in binary mode
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 16 Jul 2001 17:36:51 -0300
> for the sake of symmetry, you should allow readfrom and writeto to accept an
> additional parameter, 1 or 'b', to open the file in binary mode.
readfrom/writeto are for simple uses/simple people ;-) For more advanced
uses (such as binary files), we prefer to give power to openfile.
> [...] you should at least state explicitely in the
> manual that these functions can be used only for text files.