Retreive time of compressed (internal) file on decompressSync #104
-
|
Hi, I really like the simple interface and the fact that it runs both in browser and on node. I'm currently using it on a solution and have a question about retrieving the time of the file I compressed. So not the file time of the compressed file, but the internal compressed file's time I supplied when creating the gzip using:
That time of mtime: now, has meaning when I try inflating the data using:
The compression and decompression (fflate) works as expected, great. I just need a simple way to retrieve the date/time of the internal compressed file, the one I supplied when compressing the data. Is there a way to retrieve it? Do I need to switch compression or decompression maybe? I was unable to find this in the documentation, Q&A and even studied the code. Thanks for your time and effort, hope you can assist me with an answer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I would suggest implementing this yourself outside of |
Beta Was this translation helpful? Give feedback.
I would suggest implementing this yourself outside of
fflate; I'll send some sample code to do that later today.