{
    "content": [
        {
            "type": "text",
            "text": "# zlib (man)\n\n## NAME\n\nzlib - compression/decompression library\n\n## SYNOPSIS\n\n[see zlib.h for full description]\n\n## DESCRIPTION\n\nThe zlib library is a general purpose data compression library.  The code is thread safe, as‐\nsuming that the standard library functions used are thread safe, such  as  memory  allocation\nroutines.  It provides in-memory compression and decompression functions, including integrity\nchecks of the uncompressed data.  This version of the library supports only  one  compression\nmethod (deflation) but other algorithms may be added later with the same stream interface.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **REPORTING PROBLEMS**\n- **AUTHORS AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "zlib",
        "section": "",
        "mode": "man",
        "summary": "zlib - compression/decompression library",
        "synopsis": "[see zlib.h for full description]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 31,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "REPORTING PROBLEMS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "AUTHORS AND LICENSE",
                "lines": 33,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "zlib - compression/decompression library\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "[see zlib.h for full description]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The zlib library is a general purpose data compression library.  The code is thread safe, as‐\nsuming that the standard library functions used are thread safe, such  as  memory  allocation\nroutines.  It provides in-memory compression and decompression functions, including integrity\nchecks of the uncompressed data.  This version of the library supports only  one  compression\nmethod (deflation) but other algorithms may be added later with the same stream interface.\n\nCompression  can  be  done in a single step if the buffers are large enough or can be done by\nrepeated calls of the compression function.  In the latter case, the application must provide\nmore input and/or consume the output (providing more output space) before each call.\n\nThe library also supports reading and writing files in gzip(1) (.gz) format with an interface\nsimilar to that of stdio.\n\nThe library does not install any signal handler.  The decoder checks the consistency  of  the\ncompressed data, so the library should never crash even in the case of corrupted input.\n\nAll functions of the compression library are documented in the file zlib.h.  The distribution\nsource  includes  examples  of  use  of  the  library  in  the   files   test/example.c   and\ntest/minigzip.c, as well as other examples in the examples/ directory.\n\nChanges to this version are documented in the file ChangeLog that accompanies the source.\n\nzlib  is built in to many languages and operating systems, including but not limited to Java,\nPython, .NET, PHP, Perl, Ruby, Swift, and Go.\n\nAn experimental package to read and write files in the .zip format, written on top of zlib by\nGilles Vollant (info@winimage.com), is available at:\n\nhttp://www.winimage.com/zLibDll/minizip.html and also in the contrib/minizip directory\nof the main zlib source distribution.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "The zlib web site can be found at:\n\nhttp://zlib.net/\n\nThe data format used by the zlib library is described by RFC (Request for Comments)  1950  to\n1952 in the files:\n\nhttp://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)\nhttp://tools.ietf.org/html/rfc1951 (for the deflate compressed data format)\nhttp://tools.ietf.org/html/rfc1952 (for the gzip header and trailer format)\n\nMark  Nelson  wrote  an  article about zlib for the Jan. 1997 issue of  Dr. Dobb's Journal; a\ncopy of the article is available at:\n\nhttp://marknelson.us/1997/01/01/zlib-engine/\n",
                "subsections": []
            },
            "REPORTING PROBLEMS": {
                "content": "Before reporting a problem, please check the zlib web site to verify that you have the latest\nversion  of  zlib;  otherwise, obtain the latest version and see if the problem still exists.\nPlease read the zlib FAQ at:\n\nhttp://zlib.net/zlibfaq.html\n\nbefore asking for help.  Send questions and/or comments to zlib@gzip.org, or (for the Windows\nDLL version) to Gilles Vollant (info@winimage.com).\n",
                "subsections": []
            },
            "AUTHORS AND LICENSE": {
                "content": "Version 1.2.11\n\nCopyright (C) 1995-2017 Jean-loup Gailly and Mark Adler\n\nThis software is provided 'as-is', without any express or implied warranty.  In no event will\nthe authors be held liable for any damages arising from the use of this software.\n\nPermission is granted to anyone to use this software for any  purpose,  including  commercial\napplications,  and  to alter it and redistribute it freely, subject to the following restric‐\ntions:\n\n1. The origin of this software must not be misrepresented; you must not claim that you  wrote\nthe  original  software.  If  you use this software in a product, an acknowledgment in the\nproduct documentation would be appreciated but is not required.\n\n2. Altered source versions must be plainly marked as such, and must not be misrepresented  as\nbeing the original software.\n\n3. This notice may not be removed or altered from any source distribution.\n\nJean-loup Gailly        Mark Adler\njloup@gzip.org          madler@alumni.caltech.edu\n\nThe  deflate  format  used by zlib was defined by Phil Katz.  The deflate and zlib specifica‐\ntions were written by L. Peter Deutsch.  Thanks to all the people who reported  problems  and\nsuggested various improvements in zlib; who are too numerous to cite here.\n\nUNIX   manual   page   by   R.   P.   C.   Rodgers,   U.S.   National   Library  of  Medicine\n(rodgers@nlm.nih.gov).\n\n\n\n15 Jan 2017                                     ZLIB(3)",
                "subsections": []
            }
        }
    }
}