I tried this
System.IO.File.AppendAllBytes("tom.mpa", System.IO.File.ReadAllBytes("xyz.bin"));
error CS0117: 'System.IO.File' does not contain a
definition for 'ReadAllBytes'
...
Type: Posts; User: krischad
I tried this
System.IO.File.AppendAllBytes("tom.mpa", System.IO.File.ReadAllBytes("xyz.bin"));
error CS0117: 'System.IO.File' does not contain a
definition for 'ReadAllBytes'
...
Its a .bin file, binary file. I shud use appendallbytes right?
Thanks a ton for the info
@Magos: Thanks.
I liked using this,
System.IO.File.ReadAllBytes("File.ext")
@Momerath: Thanks,
If I'm reading from a file and appending to another file, is there any simple way to do it? How do I append what I read to another file?
Hello,
I woud like to read a very big binary file in C#. Say, 256 Mega Bytes of data. Actually I should read from one big 256Mbytes file and append to another file.
How do I append to my...