I would like to be able to async file write. I would like to open a file and I would get the length like so.
fs.Read(buffer, 0, buffer.Length)
then I would like to open 2 filestream and write at the same time so it doesn't take as long. For example if the total length of the file is 100. I would split up and write 0-50 on one filestream and 51-100 on the second filestream, only writing them at the same time. Is this possible? Thank you.
fs.Read(buffer, 0, buffer.Length)
then I would like to open 2 filestream and write at the same time so it doesn't take as long. For example if the total length of the file is 100. I would split up and write 0-50 on one filestream and 51-100 on the second filestream, only writing them at the same time. Is this possible? Thank you.