writing array to binary file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: tim (anonymous_at_discussions.microsoft.com)
Date: 02/06/04


Date: Thu, 5 Feb 2004 20:36:07 -0800

i have an array of bytes which i write to a binary file.
seems to me the only way is to write one element at a time, which takes *forever*

is there a way to write the entire array to the binary file without looping.

something like
   binarywriter.writeEntireArray(arrayOfBytes)
would be perfect!!



Relevant Pages

  • Re: binary i/o files
    ... strange characters on the screen. ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... Is there a way that I can write the binary file as 96*128 array. ... As some systems have limits on the record size, ...
    (comp.lang.fortran)