{
    "content": [
        {
            "type": "text",
            "text": "# IO::Compress::RawDeflate (perldoc)\n\n## NAME\n\nIO::Compress::RawDeflate - Write RFC 1951 files/buffers\n\n## SYNOPSIS\n\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\nmy $status = rawdeflate $input => $output [,OPTS]\nor die \"rawdeflate failed: $RawDeflateError\\n\";\nmy $z = IO::Compress::RawDeflate->new( $output [,OPTS] )\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n$z->print($string);\n$z->printf($format, $string);\n$z->write($string);\n$z->syswrite($string [, $length, $offset]);\n$z->flush();\n$z->tell();\n$z->eof();\n$z->seek($position, $whence);\n$z->binmode();\n$z->fileno();\n$z->opened();\n$z->autoflush();\n$z->inputlinenumber();\n$z->newStream( [OPTS] );\n$z->deflateParams();\n$z->close() ;\n$RawDeflateError ;\n# IO::File mode\nprint $z $string;\nprintf $z $format, $string;\ntell $z\neof $z\nseek $z, $position, $whence\nbinmode $z\nfileno $z\nclose $z ;\n\n## DESCRIPTION\n\nThis module provides a Perl interface that allows writing compressed data to files or buffer as\ndefined in RFC 1951.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **Functional Interface** (8 subsections)\n- **Methods**\n- **Importing**\n- **EXAMPLES** (2 subsections)\n- **SUPPORT**\n- **SEE ALSO**\n- **AUTHOR**\n- **MODIFICATION HISTORY**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "IO::Compress::RawDeflate",
        "section": "",
        "mode": "perldoc",
        "summary": "IO::Compress::RawDeflate - Write RFC 1951 files/buffers",
        "synopsis": "use IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\nmy $status = rawdeflate $input => $output [,OPTS]\nor die \"rawdeflate failed: $RawDeflateError\\n\";\nmy $z = IO::Compress::RawDeflate->new( $output [,OPTS] )\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n$z->print($string);\n$z->printf($format, $string);\n$z->write($string);\n$z->syswrite($string [, $length, $offset]);\n$z->flush();\n$z->tell();\n$z->eof();\n$z->seek($position, $whence);\n$z->binmode();\n$z->fileno();\n$z->opened();\n$z->autoflush();\n$z->inputlinenumber();\n$z->newStream( [OPTS] );\n$z->deflateParams();\n$z->close() ;\n$RawDeflateError ;\n# IO::File mode\nprint $z $string;\nprintf $z $format, $string;\ntell $z\neof $z\nseek $z, $position, $whence\nbinmode $z\nfileno $z\nclose $z ;",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "See IO::Compress::FAQ",
            "See IO::Compress::FAQ"
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 40,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "Functional Interface",
                "lines": 84,
                "subsections": [
                    {
                        "name": "Notes",
                        "lines": 4
                    },
                    {
                        "name": "Optional Parameters",
                        "lines": 52
                    },
                    {
                        "name": "Examples",
                        "lines": 65
                    },
                    {
                        "name": "Constructor",
                        "lines": 32
                    },
                    {
                        "name": "Constructor Options",
                        "lines": 50
                    },
                    {
                        "name": "-Level",
                        "lines": 17
                    },
                    {
                        "name": "-Strategy",
                        "lines": 14
                    },
                    {
                        "name": "Examples",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "Methods",
                "lines": 167,
                "subsections": []
            },
            {
                "name": "Importing",
                "lines": 40,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Apache::GZip Revisited",
                        "lines": 2
                    },
                    {
                        "name": "Working with Net::FTP",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "SUPPORT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODIFICATION HISTORY",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "IO::Compress::RawDeflate - Write RFC 1951 files/buffers\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\n\nmy $status = rawdeflate $input => $output [,OPTS]\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n\nmy $z = IO::Compress::RawDeflate->new( $output [,OPTS] )\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n\n$z->print($string);\n$z->printf($format, $string);\n$z->write($string);\n$z->syswrite($string [, $length, $offset]);\n$z->flush();\n$z->tell();\n$z->eof();\n$z->seek($position, $whence);\n$z->binmode();\n$z->fileno();\n$z->opened();\n$z->autoflush();\n$z->inputlinenumber();\n$z->newStream( [OPTS] );\n\n$z->deflateParams();\n\n$z->close() ;\n\n$RawDeflateError ;\n\n# IO::File mode\n\nprint $z $string;\nprintf $z $format, $string;\ntell $z\neof $z\nseek $z, $position, $whence\nbinmode $z\nfileno $z\nclose $z ;\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module provides a Perl interface that allows writing compressed data to files or buffer as\ndefined in RFC 1951.\n\nNote that RFC 1951 data is not a good choice of compression format to use in isolation,\nespecially if you want to auto-detect it.\n\nFor reading RFC 1951 files/buffers, see the companion module IO::Uncompress::RawInflate.\n",
                "subsections": []
            },
            "Functional Interface": {
                "content": "A top-level function, \"rawdeflate\", is provided to carry out \"one-shot\" compression between\nbuffers and/or files. For finer control over the compression process, see the \"OO Interface\"\nsection.\n\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\n\nrawdeflate $inputfilenameorreference => $outputfilenameorreference [,OPTS]\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n\nThe functional interface needs Perl5.005 or better.\n\nrawdeflate $inputfilenameorreference => $outputfilenameorreference [, OPTS]\n\"rawdeflate\" expects at least two parameters, $inputfilenameorreference and\n$outputfilenameorreference and zero or more optional parameters (see \"Optional Parameters\")\n\nThe $inputfilenameorreference parameter\nThe parameter, $inputfilenameorreference, is used to define the source of the uncompressed\ndata.\n\nIt can take one of the following forms:\n\nA filename\nIf the $inputfilenameorreference parameter is a simple scalar, it is assumed to be a\nfilename. This file will be opened for reading and the input data will be read from it.\n\nA filehandle\nIf the $inputfilenameorreference parameter is a filehandle, the input data will be read\nfrom it. The string '-' can be used as an alias for standard input.\n\nA scalar reference\nIf $inputfilenameorreference is a scalar reference, the input data will be read from\n$$inputfilenameorreference.\n\nAn array reference\nIf $inputfilenameorreference is an array reference, each element in the array must be a\nfilename.\n\nThe input data will be read from each file in turn.\n\nThe complete array will be walked to ensure that it only contains valid filenames before\nany data is compressed.\n\nAn Input FileGlob string\nIf $inputfilenameorreference is a string that is delimited by the characters \"<\" and \">\"\n\"rawdeflate\" will assume that it is an *input fileglob string*. The input is the list of\nfiles that match the fileglob.\n\nSee File::GlobMapper for more details.\n\nIf the $inputfilenameorreference parameter is any other type, \"undef\" will be returned.\n\nThe $outputfilenameorreference parameter\nThe parameter $outputfilenameorreference is used to control the destination of the compressed\ndata. This parameter can take one of these forms.\n\nA filename\nIf the $outputfilenameorreference parameter is a simple scalar, it is assumed to be a\nfilename. This file will be opened for writing and the compressed data will be written to\nit.\n\nA filehandle\nIf the $outputfilenameorreference parameter is a filehandle, the compressed data will be\nwritten to it. The string '-' can be used as an alias for standard output.\n\nA scalar reference\nIf $outputfilenameorreference is a scalar reference, the compressed data will be stored\nin $$outputfilenameorreference.\n\nAn Array Reference\nIf $outputfilenameorreference is an array reference, the compressed data will be pushed\nonto the array.\n\nAn Output FileGlob\nIf $outputfilenameorreference is a string that is delimited by the characters \"<\" and\n\">\" \"rawdeflate\" will assume that it is an *output fileglob string*. The output is the list\nof files that match the fileglob.\n\nWhen $outputfilenameorreference is an fileglob string, $inputfilenameorreference must\nalso be a fileglob string. Anything else is an error.\n\nSee File::GlobMapper for more details.\n\nIf the $outputfilenameorreference parameter is any other type, \"undef\" will be returned.\n",
                "subsections": [
                    {
                        "name": "Notes",
                        "content": "When $inputfilenameorreference maps to multiple files/buffers and\n$outputfilenameorreference is a single file/buffer the input files/buffers will be stored in\n$outputfilenameorreference as a concatenated series of compressed data streams.\n"
                    },
                    {
                        "name": "Optional Parameters",
                        "content": "The optional parameters for the one-shot function \"rawdeflate\" are (for the most part) identical\nto those used with the OO interface defined in the \"Constructor Options\" section. The exceptions\nare listed below\n\n\"AutoClose => 0|1\"\nThis option applies to any input or output data streams to \"rawdeflate\" that are\nfilehandles.\n\nIf \"AutoClose\" is specified, and the value is true, it will result in all input and/or\noutput filehandles being closed once \"rawdeflate\" has completed.\n\nThis parameter defaults to 0.\n\n\"BinModeIn => 0|1\"\nThis option is now a no-op. All files will be read in binmode.\n\n\"Append => 0|1\"\nThe behaviour of this option is dependent on the type of output data stream.\n\n*    A Buffer\n\nIf \"Append\" is enabled, all compressed data will be append to the end of the output\nbuffer. Otherwise the output buffer will be cleared before any compressed data is\nwritten to it.\n\n*    A Filename\n\nIf \"Append\" is enabled, the file will be opened in append mode. Otherwise the contents\nof the file, if any, will be truncated before any compressed data is written to it.\n\n*    A Filehandle\n\nIf \"Append\" is enabled, the filehandle will be positioned to the end of the file via a\ncall to \"seek\" before any compressed data is written to it. Otherwise the file pointer\nwill not be moved.\n\nWhen \"Append\" is specified, and set to true, it will *append* all compressed data to the\noutput data stream.\n\nSo when the output is a filehandle it will carry out a seek to the eof before writing any\ncompressed data. If the output is a filename, it will be opened for appending. If the\noutput is a buffer, all compressed data will be appended to the existing buffer.\n\nConversely when \"Append\" is not specified, or it is present and is set to false, it will\noperate as follows.\n\nWhen the output is a filename, it will truncate the contents of the file before writing any\ncompressed data. If the output is a filehandle its position will not be changed. If the\noutput is a buffer, it will be wiped before any compressed data is output.\n\nDefaults to 0.\n"
                    },
                    {
                        "name": "Examples",
                        "content": "Here are a few example that show the capabilities of the module.\n\nStreaming\nThis very simple command line example demonstrates the streaming capabilities of the module. The\ncode reads data from STDIN, compresses it, and writes the compressed data to STDOUT.\n\n$ echo hello world | perl -MIO::Compress::RawDeflate=rawdeflate -e 'rawdeflate \\*STDIN => \\*STDOUT' >output.1951\n\nThe special filename \"-\" can be used as a standin for both \"\\*STDIN\" and \"\\*STDOUT\", so the\nabove can be rewritten as\n\n$ echo hello world | perl -MIO::Compress::RawDeflate=rawdeflate -e 'rawdeflate \"-\" => \"-\"' >output.1951\n\nCompressing a file from the filesystem\nTo read the contents of the file \"file1.txt\" and write the compressed data to the file\n\"file1.txt.1951\".\n\nuse strict ;\nuse warnings ;\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\n\nmy $input = \"file1.txt\";\nrawdeflate $input => \"$input.1951\"\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n\nReading from a Filehandle and writing to an in-memory buffer\nTo read from an existing Perl filehandle, $input, and write the compressed data to a buffer,\n$buffer.\n\nuse strict ;\nuse warnings ;\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\nuse IO::File ;\n\nmy $input = IO::File->new( \"<file1.txt\" )\nor die \"Cannot open 'file1.txt': $!\\n\" ;\nmy $buffer ;\nrawdeflate $input => \\$buffer\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n\nCompressing multiple files\nTo compress all files in the directory \"/my/home\" that match \"*.txt\" and store the compressed\ndata in the same directory\n\nuse strict ;\nuse warnings ;\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\n\nrawdeflate '</my/home/*.txt>' => '<*.1951>'\nor die \"rawdeflate failed: $RawDeflateError\\n\";\n\nand if you want to compress each file one at a time, this will do the trick\n\nuse strict ;\nuse warnings ;\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError) ;\n\nfor my $input ( glob \"/my/home/*.txt\" )\n{\nmy $output = \"$input.1951\" ;\nrawdeflate $input => $output\nor die \"Error compressing '$input': $RawDeflateError\\n\";\n}\n\nOO Interface"
                    },
                    {
                        "name": "Constructor",
                        "content": "The format of the constructor for \"IO::Compress::RawDeflate\" is shown below\n\nmy $z = IO::Compress::RawDeflate->new( $output [,OPTS] )\nor die \"IO::Compress::RawDeflate failed: $RawDeflateError\\n\";\n\nIt returns an \"IO::Compress::RawDeflate\" object on success and undef on failure. The variable\n$RawDeflateError will contain an error message on failure.\n\nIf you are running Perl 5.005 or better the object, $z, returned from IO::Compress::RawDeflate\ncan be used exactly like an IO::File filehandle. This means that all normal output file\noperations can be carried out with $z. For example, to write to a compressed file/buffer you can\nuse either of these forms\n\n$z->print(\"hello world\\n\");\nprint $z \"hello world\\n\";\n\nThe mandatory parameter $output is used to control the destination of the compressed data. This\nparameter can take one of these forms.\n\nA filename\nIf the $output parameter is a simple scalar, it is assumed to be a filename. This file will\nbe opened for writing and the compressed data will be written to it.\n\nA filehandle\nIf the $output parameter is a filehandle, the compressed data will be written to it. The\nstring '-' can be used as an alias for standard output.\n\nA scalar reference\nIf $output is a scalar reference, the compressed data will be stored in $$output.\n\nIf the $output parameter is any other type, \"IO::Compress::RawDeflate\"::new will return undef.\n"
                    },
                    {
                        "name": "Constructor Options",
                        "content": "\"OPTS\" is any combination of zero or more the following options:\n\n\"AutoClose => 0|1\"\nThis option is only valid when the $output parameter is a filehandle. If specified, and the\nvalue is true, it will result in the $output being closed once either the \"close\" method is\ncalled or the \"IO::Compress::RawDeflate\" object is destroyed.\n\nThis parameter defaults to 0.\n\n\"Append => 0|1\"\nOpens $output in append mode.\n\nThe behaviour of this option is dependent on the type of $output.\n\n*    A Buffer\n\nIf $output is a buffer and \"Append\" is enabled, all compressed data will be append to\nthe end of $output. Otherwise $output will be cleared before any data is written to\nit.\n\n*    A Filename\n\nIf $output is a filename and \"Append\" is enabled, the file will be opened in append\nmode. Otherwise the contents of the file, if any, will be truncated before any\ncompressed data is written to it.\n\n*    A Filehandle\n\nIf $output is a filehandle, the file pointer will be positioned to the end of the file\nvia a call to \"seek\" before any compressed data is written to it. Otherwise the file\npointer will not be moved.\n\nThis parameter defaults to 0.\n\n\"Merge => 0|1\"\nThis option is used to compress input data and append it to an existing compressed data\nstream in $output. The end result is a single compressed data stream stored in $output.\n\nIt is a fatal error to attempt to use this option when $output is not an RFC 1951 data\nstream.\n\nThere are a number of other limitations with the \"Merge\" option:\n\n1    This module needs to have been built with zlib 1.2.1 or better to work. A fatal error\nwill be thrown if \"Merge\" is used with an older version of zlib.\n\n2    If $output is a file or a filehandle, it must be seekable.\n\nThis parameter defaults to 0.\n"
                    },
                    {
                        "name": "-Level",
                        "content": "Defines the compression level used by zlib. The value should either be a number between 0\nand 9 (0 means no compression and 9 is maximum compression), or one of the symbolic\nconstants defined below.\n\nZNOCOMPRESSION\nZBESTSPEED\nZBESTCOMPRESSION\nZDEFAULTCOMPRESSION\n\nThe default is ZDEFAULTCOMPRESSION.\n\nNote, these constants are not imported by \"IO::Compress::RawDeflate\" by default.\n\nuse IO::Compress::RawDeflate qw(:strategy);\nuse IO::Compress::RawDeflate qw(:constants);\nuse IO::Compress::RawDeflate qw(:all);\n"
                    },
                    {
                        "name": "-Strategy",
                        "content": "Defines the strategy used to tune the compression. Use one of the symbolic constants\ndefined below.\n\nZFILTERED\nZHUFFMANONLY\nZRLE\nZFIXED\nZDEFAULTSTRATEGY\n\nThe default is ZDEFAULTSTRATEGY.\n\n\"Strict => 0|1\"\nThis is a placeholder option.\n"
                    },
                    {
                        "name": "Examples",
                        "content": "TODO\n"
                    }
                ]
            },
            "Methods": {
                "content": "print\nUsage is\n\n$z->print($data)\nprint $z $data\n\nCompresses and outputs the contents of the $data parameter. This has the same behaviour as the\n\"print\" built-in.\n\nReturns true if successful.\n\nprintf\nUsage is\n\n$z->printf($format, $data)\nprintf $z $format, $data\n\nCompresses and outputs the contents of the $data parameter.\n\nReturns true if successful.\n\nsyswrite\nUsage is\n\n$z->syswrite $data\n$z->syswrite $data, $length\n$z->syswrite $data, $length, $offset\n\nCompresses and outputs the contents of the $data parameter.\n\nReturns the number of uncompressed bytes written, or \"undef\" if unsuccessful.\n\nwrite\nUsage is\n\n$z->write $data\n$z->write $data, $length\n$z->write $data, $length, $offset\n\nCompresses and outputs the contents of the $data parameter.\n\nReturns the number of uncompressed bytes written, or \"undef\" if unsuccessful.\n\nflush\nUsage is\n\n$z->flush;\n$z->flush($flushtype);\n\nFlushes any pending compressed data to the output file/buffer.\n\nThis method takes an optional parameter, $flushtype, that controls how the flushing will be\ncarried out. By default the $flushtype used is \"ZFINISH\". Other valid values for $flushtype\nare \"ZNOFLUSH\", \"ZSYNCFLUSH\", \"ZFULLFLUSH\" and \"ZBLOCK\". It is strongly recommended that\nyou only set the \"flushtype\" parameter if you fully understand the implications of what it does\n- overuse of \"flush\" can seriously degrade the level of compression achieved. See the \"zlib\"\ndocumentation for details.\n\nReturns true on success.\n\ntell\nUsage is\n\n$z->tell()\ntell $z\n\nReturns the uncompressed file offset.\n\neof\nUsage is\n\n$z->eof();\neof($z);\n\nReturns true if the \"close\" method has been called.\n\nseek\n$z->seek($position, $whence);\nseek($z, $position, $whence);\n\nProvides a sub-set of the \"seek\" functionality, with the restriction that it is only legal to\nseek forward in the output file/buffer. It is a fatal error to attempt to seek backward.\n\nEmpty parts of the file/buffer will have NULL (0x00) bytes written to them.\n\nThe $whence parameter takes one the usual values, namely SEEKSET, SEEKCUR or SEEKEND.\n\nReturns 1 on success, 0 on failure.\n\nbinmode\nUsage is\n\n$z->binmode\nbinmode $z ;\n\nThis is a noop provided for completeness.\n\nopened\n$z->opened()\n\nReturns true if the object currently refers to a opened file/buffer.\n\nautoflush\nmy $prev = $z->autoflush()\nmy $prev = $z->autoflush(EXPR)\n\nIf the $z object is associated with a file or a filehandle, this method returns the current\nautoflush setting for the underlying filehandle. If \"EXPR\" is present, and is non-zero, it will\nenable flushing after every write/print operation.\n\nIf $z is associated with a buffer, this method has no effect and always returns \"undef\".\n\nNote that the special variable $| cannot be used to set or retrieve the autoflush setting.\n\ninputlinenumber\n$z->inputlinenumber()\n$z->inputlinenumber(EXPR)\n\nThis method always returns \"undef\" when compressing.\n\nfileno\n$z->fileno()\nfileno($z)\n\nIf the $z object is associated with a file or a filehandle, \"fileno\" will return the underlying\nfile descriptor. Once the \"close\" method is called \"fileno\" will return \"undef\".\n\nIf the $z object is associated with a buffer, this method will return \"undef\".\n\nclose\n$z->close() ;\nclose $z ;\n\nFlushes any pending compressed data and then closes the output file/buffer.\n\nFor most versions of Perl this method will be automatically invoked if the\nIO::Compress::RawDeflate object is destroyed (either explicitly or by the variable with the\nreference to the object going out of scope). The exceptions are Perl versions 5.005 through\n5.00504 and 5.8.0. In these cases, the \"close\" method will be called automatically, but not\nuntil global destruction of all live objects when the program is terminating.\n\nTherefore, if you want your scripts to be able to run on all versions of Perl, you should call\n\"close\" explicitly and not rely on automatic closing.\n\nReturns true on success, otherwise 0.\n\nIf the \"AutoClose\" option has been enabled when the IO::Compress::RawDeflate object was created,\nand the object is associated with a file, the underlying file will also be closed.\n\nnewStream([OPTS])\nUsage is\n\n$z->newStream( [OPTS] )\n\nCloses the current compressed data stream and starts a new one.\n\nOPTS consists of any of the options that are available when creating the $z object.\n\nSee the \"Constructor Options\" section for more details.\n\ndeflateParams\nUsage is\n\n$z->deflateParams\n\nTODO\n",
                "subsections": []
            },
            "Importing": {
                "content": "A number of symbolic constants are required by some methods in \"IO::Compress::RawDeflate\". None\nare imported by default.\n\n:all Imports \"rawdeflate\", $RawDeflateError and all symbolic constants that can be used by\n\"IO::Compress::RawDeflate\". Same as doing this\n\nuse IO::Compress::RawDeflate qw(rawdeflate $RawDeflateError :constants) ;\n\n:constants\nImport all symbolic constants. Same as doing this\n\nuse IO::Compress::RawDeflate qw(:flush :level :strategy) ;\n\n:flush\nThese symbolic constants are used by the \"flush\" method.\n\nZNOFLUSH\nZPARTIALFLUSH\nZSYNCFLUSH\nZFULLFLUSH\nZFINISH\nZBLOCK\n\n:level\nThese symbolic constants are used by the \"Level\" option in the constructor.\n\nZNOCOMPRESSION\nZBESTSPEED\nZBESTCOMPRESSION\nZDEFAULTCOMPRESSION\n\n:strategy\nThese symbolic constants are used by the \"Strategy\" option in the constructor.\n\nZFILTERED\nZHUFFMANONLY\nZRLE\nZFIXED\nZDEFAULTSTRATEGY\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "",
                "subsections": [
                    {
                        "name": "Apache::GZip Revisited",
                        "content": "See IO::Compress::FAQ\n"
                    },
                    {
                        "name": "Working with Net::FTP",
                        "content": "See IO::Compress::FAQ\n"
                    }
                ]
            },
            "SUPPORT": {
                "content": "General feedback/questions/bug reports should be sent to\n<https://github.com/pmqs/IO-Compress/issues> (preferred) or\n<https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Compress>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Compress::Zlib, IO::Compress::Gzip, IO::Uncompress::Gunzip, IO::Compress::Deflate,\nIO::Uncompress::Inflate, IO::Uncompress::RawInflate, IO::Compress::Bzip2,\nIO::Uncompress::Bunzip2, IO::Compress::Lzma, IO::Uncompress::UnLzma, IO::Compress::Xz,\nIO::Uncompress::UnXz, IO::Compress::Lzip, IO::Uncompress::UnLzip, IO::Compress::Lzop,\nIO::Uncompress::UnLzop, IO::Compress::Lzf, IO::Uncompress::UnLzf, IO::Compress::Zstd,\nIO::Uncompress::UnZstd, IO::Uncompress::AnyInflate, IO::Uncompress::AnyUncompress\n\nIO::Compress::FAQ\n\nFile::GlobMapper, Archive::Zip, Archive::Tar, IO::Zlib\n\nFor RFC 1950, 1951 and 1952 see <http://www.faqs.org/rfcs/rfc1950.html>,\n<http://www.faqs.org/rfcs/rfc1951.html> and <http://www.faqs.org/rfcs/rfc1952.html>\n\nThe *zlib* compression library was written by Jean-loup Gailly \"gzip@prep.ai.mit.edu\" and Mark\nAdler \"madler@alumni.caltech.edu\".\n\nThe primary site for the *zlib* compression library is <http://www.zlib.org>.\n\nThe primary site for gzip is <http://www.gzip.org>.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "This module was written by Paul Marquess, \"pmqs@cpan.org\".\n",
                "subsections": []
            },
            "MODIFICATION HISTORY": {
                "content": "See the Changes file.\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "Copyright (c) 2005-2021 Paul Marquess. All rights reserved.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}