M : after Stream read then setting postion 1

This commit is contained in:
wei 2021-03-14 14:09:32 +08:00
parent 9cdc099d9a
commit 5489c3fb60

View File

@ -24,6 +24,7 @@
public static void SaveAs(this Stream stream,object value, string startCell = "A1", bool printHeader = true)
{
SaveAsImpl(stream,GetCreateXlsxInfos(value, startCell, printHeader));
stream.Position = 0;
}
public static void Create(string filePath, object value, string startCell = "A1", bool printHeader = true)