Created
August 11, 2023 00:56
-
-
Save levancho/78b48c8fca789160b685eb0e6ec66ab8 to your computer and use it in GitHub Desktop.
enc1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try (OutputStream os = enc.getDataStream(fs)) { | |
os.write(inputExcel); | |
} | |
// Convert the POIFSFileSystem to a byte array | |
try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { | |
fs.writeFilesystem(baos); | |
return baos.toByteArray(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment