-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
-
I want to ask if the buffer can be specified when writing down stream. When the NewStreamWriter is initialized, it wants to be like csv. Newwriter (b), because my structure is like this, and I want to specify buffer for streaming buffer.
type newReaderWriter struct {
c chan [][]string
b *bytes.Buffer
w *excelize.StreamWriter
f *excelize.File
rowNumber int
sheet string
}
After streaming writing, I can only write to my buffer through writeTobuffer, but there are only two sets of buffers, which makes no sense, and the memory of the file container will explode. Can I make a buffer when initializing?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment