C# FileStream : Optimal buffer size for writing large files? -


Suppose I am writing some files between 2 MB and 5 GB on the disk. What are the sensible buffer values ​​for filestream?

Is it worth working with several megabytes of buffers, or should I live with kilobyte buffers?

The default buffer size is 4 KB.

Also, take a look here:


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -