You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I have a case where I have no file system representation of the document and only have either an IO stream or byte[] on hand to work with. I seem to struggle to find an example for my case, can someone pinpoint it please or let me know how can one work with IO streams or byte arrays?
The text was updated successfully, but these errors were encountered:
Thank you for your reply. The problem is that I don't have access to the file system. Meaning that I can write any files. Is there maybe a way to provide an API that works with streams?
You don't need a file system. An example creates a stream from the file, but the stream can be created from any source.
If you are concerned about the file name: new Param("file", stream, "test.docx") File name test.docx can be anything, important is to provide file extension correctly.
So I have a case where I have no file system representation of the document and only have either an IO stream or
byte[]
on hand to work with. I seem to struggle to find an example for my case, can someone pinpoint it please or let me know how can one work with IO streams or byte arrays?The text was updated successfully, but these errors were encountered: