# GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.ZlibExtensions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Core_Document_DDLib_ZLib_ZlibExtensions" data-uid="GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.ZlibExtensions" class="text-break">ZlibExtensions Class
</h1>
  <div class="markdown level0 summary"><p>Used to compress/decompress simple zlib stream (without structure).</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ZlibExtensions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.html">GrapeCity.ActiveReports.Core.Document.DDLib.ZLib</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Core_Document_DDLib_ZLib_ZlibExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ZlibExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Document_DDLib_ZLib_ZlibExtensions_Compress_System_IO_MemoryStream_" data-uid="GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.ZlibExtensions.Compress(System.IO.MemoryStream)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.ZlibExtensions.Compress.html#GrapeCity_ActiveReports_Core_Document_DDLib_ZLib_ZlibExtensions_Compress_System_IO_MemoryStream_">Compress(MemoryStream)</a>
        </td>
        <td class="markdown level1 summary"><p>Compress stream.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Document_DDLib_ZLib_ZlibExtensions_DeCompress_System_IO_MemoryStream_" data-uid="GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.ZlibExtensions.DeCompress(System.IO.MemoryStream)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Document.DDLib.ZLib.ZlibExtensions.DeCompress.html#GrapeCity_ActiveReports_Core_Document_DDLib_ZLib_ZlibExtensions_DeCompress_System_IO_MemoryStream_">DeCompress(MemoryStream)</a>
        </td>
        <td class="markdown level1 summary"><p>Decompress stream.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
