<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>woshidan</author_name>
  <author_url>https://blog.hatena.ne.jp/woshidan/</author_url>
  <blog_title>woshidan's blog</blog_title>
  <blog_url>https://woshidan.hatenablog.com/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>gzip</anon>
    <anon>圧縮</anon>
    <anon>ObjC</anon>
  </categories>
  <description>zlibについてコピペで使うのはいやだなと思ったのでちょっと調べてメモ。 比較的小さいファイルの圧縮を行うなど、圧縮前後のデータを全てメモリ上に展開できる場合は、 compress() を使って一気に圧縮できますが、今回はストリームから少しずつデータを出し入れして圧縮していく deflate() コマンドを利用する場合についてメモします。 zlibとは まず、zlibが何かをこちらのページから引用します。 zlibとは、圧縮アルゴリズムの一種である Deflate のライブラリであり，C#, Haskell, Java, Perl, Python, Ruby など，主要なプログラミング言語では…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwoshidan.hatenablog.com%2Fentry%2F2017%2F09%2F27%2F212310&quot; title=&quot;iOSにてzlibのdeflate()コマンドでファイルをgzip形式で圧縮する方法について - woshidan&amp;#39;s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/w/woshidan/20170927/20170927212154.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-27 21:23:10</published>
  <title>iOSにてzlibのdeflate()コマンドでファイルをgzip形式で圧縮する方法について</title>
  <type>rich</type>
  <url>https://woshidan.hatenablog.com/entry/2017/09/27/212310</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
