Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream while appending to io.writer #1897

Closed
XaichengLi opened this issue May 13, 2024 · 2 comments
Closed

Stream while appending to io.writer #1897

XaichengLi opened this issue May 13, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@XaichengLi
Copy link

当前虽然提供了流式写入的方法,但没有提供流式构造xlsx的方法,必须要等需要写入的数据都写入File后,才能调用File的Write()或WriteTo()方法将流写入的指定的io.Writer,其实是假的流式。
应该提供一种方法,当向StreamWriter中写入数据后,File应该有方法能将刚写入的数据写入到指定的io.Writer中,而不是要等StreamWriter写入完后,调用Flush才能将File数据写入到指定的io.Writer中。

@xuri
Copy link
Member

xuri commented May 13, 2024

Thanks for your issue. If you are reporting a new issue, make sure that we do not have any duplicates already exist. This was duplicated with issue #753. So I've closed this issue. If you have any questions, please let me know, and you can reopen this anytime.

@xuri xuri closed this as completed May 13, 2024
@xuri xuri added the duplicate This issue or pull request already exists label May 13, 2024
@xuri xuri changed the title 缺少流式构造xlsx文件的方法 Stream while appending to io.writer May 13, 2024
@XaichengLi
Copy link
Author

ok,thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants