zlibは、データの圧縮および伸張を行うためのフリーのライブラリである。可逆圧縮アルゴリズムのDeflate (RFC 1951) を実装している。ヘッダーやフッターなどのデータ形式はRFC 1950 (ZLIB Compressed Data Format Specification) として仕様化されている。また、これ以外のデータ形式としてRFC 1952 (GZIP File Format Specification) および、RAW形式 (ヘッダーやフッターなし) もサポートする[2]。 概要[編集] zlibの作者は、ジャン=ルー・ガイイ (Jean-Loup Gailly) とマーク・アドラー (Mark Adler) である。彼らはgzipの主要開発者でもある。ジャンが圧縮、マークが伸張に関する部分を担当した。ライセンスはgzipとは違いGPLではなく、BSDライセンスに近い
A Massively Spiffy Yet Delicately Unobtrusive Compression Library (Also Free, Not to Mention Unencumbered by Patents) (Not Related to the Linux zlibc Compressing File-I/O Library) Welcome to the zlib home page, web pages originally created by Greg Roelofs and maintained by Mark Adler. If this page seems suspiciously similar to the PNG Home Page, rest assured that the similarity is completely coinc
This module provides an API for the zlib library (www.zlib.net). It is used to compress and decompress data. The data format is described by RFC 1950, RFC 1951, and RFC 1952. A typical (compress) usage is as follows: Z = zlib:open(), ok = zlib:deflateInit(Z,default), Compress = fun(end_of_data, _Cont) -> []; (Data, Cont) -> [zlib:deflate(Z, Data)|Cont(Read(),Cont)] end, Compressed = Compress(Read(
どうも。三十路です。 今日も2巻でお勉強。 Ruby 2 さまざまなデータとアルゴリズム (CD-ROM付) (プログラミング学習シリーズ) 作者: arton,宇野るいも出版社/メーカー: 翔泳社発売日: 2009/02/13メディア: 大型本購入: 1人 クリック: 48回この商品を含むブログ (21件) を見る オブジェクトの永続化 プログラム内部で作成したデータ(オブジェクト)をそのまま保存したり復元したりするのを永続化という。 Marshalモジュールを使うことで永続化することができる。 オブジェクトをバイナリ化(ようするに保存できる形式にすること?)することをマーシャルという。逆に復元することをデマーシャルという。 #マーシャル t = Time.now puts t File.open "time_save.data", "wb" do |file| Marshal.dump
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く