murrayn has asked for the wisdom of the Perl Monks concerning the following question:
I need to "deflate" a data buffer and then embed that into another data stream before writing it out (I'm trying to write a bitmap into a new PNG file).
IO::Compress::Deflate appears to do the job and its doc says it "allows writing compressed data to files or buffer". All the methods and examples appear to write files. Am I wrong to interpret "buffer" as meaning an area of my program's working storage ($buffer)? Have I missed reading some crucial piece of documentation which should have been blindingly obvious? Am I using the wrong module altogether?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Keeping deflated data in memory
by GrandFather (Saint) on Jun 28, 2016 at 04:51 UTC | |
|
Re: Keeping deflated data in memory
by pmqs (Friar) on Jun 28, 2016 at 13:12 UTC | |
|
Re: Keeping deflated data in memory
by Cow1337killr (Monk) on Jun 28, 2016 at 06:44 UTC |