VahidN / EPPlus.Core

EPPlus.Core is an unofficial port of the EPPlus library to .NET Core
GNU Lesser General Public License v3.0
370 stars 93 forks source link

instead of using system.io.file.readallbytes to write the file into t… #19

Closed eraydin closed 7 years ago

eraydin commented 7 years ago

…he buffer, use repeated reads with correct file access options.

(http://epplus.codeplex.com/SourceControl/network/forks/perkuypers/EPPlusReadExcelWhenOpened/changeset/6c7e7a5fd368)

VahidN commented 7 years ago

Streams should be used when you have gigabytes of data and here we are working with a template file which is very small and a good candidate for File.ReadAllBytes. Please post your pull requests for the original authors.