On Sunday, 3 September 2023 at 10:11:22 UTC, Vino wrote:
Hi All,

Any update as to when the function described in the below ticked would be action-ed, I am more interested in isBinary (check a file whether is is binary file or not)

http://d.puremagic.com/issues/show_bug.cgi?id=9455

From,
Vino

Those are totally different ideas.

When writing a file, some operating systems support line ending conversion. To do that, you explicitly specify that you are writing to a text file. Then a "binary file" is just any file that is not a text file. However, this is merely a conversion process on writing. You cannot discover whether a file is a binary file in reverse. At most you can check whether *you yourself* opened the file as a binary file.
  • Re: isBinary FeepingCreature via Digitalmars-d-learn

Reply via email to