writing array to binary file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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!!

System.IO.BinaryWriter.Write(ByVal Buffer() As Byte)

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"Mach was the greatest intellectual fraud in the last ten years."
"What about X?"
"I said `intellectual'."
;login, 9/1990
 
oh! you're the best, Tom!
thanks


----- Tom Shelton wrote: ----

On 2004-02-06 said:
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
binarywriter.writeEntireArray(arrayOfBytes
would be perfect!


System.IO.BinaryWriter.Write(ByVal Buffer() As Byte

--
Tom Shelton [MVP
Powered By Gentoo Linux 1.
"Mach was the greatest intellectual fraud in the last ten years.
"What about X?
"I said `intellectual'.
;login, 9/199
 
Back
Top