22件ヒット
[1-22件を表示]
(0.493秒)
ライブラリ
- zlib (22)
クラス
-
Zlib
:: Inflate (11) -
Zlib
:: ZStream (11)
検索結果
-
Zlib
:: ZStream # flush _ next _ out -> String (24503.0) -
出力バッファに残っているデータを強制的に取り出します。
出力バッファに残っているデータを強制的に取り出します。 -
Zlib
:: Inflate # <<(string) -> self (3430.0) -
Zlib::Inflate#inflate と同じように string を 展開ストリームに入力しますが、Zlib::Inflate オブジェクト そのものを返します。展開ストリームからの出力は、 出力バッファに保存されます。
...Zlib::Inflate#inflate と同じように string を
展開ストリームに入力しますが、Zlib::Inflate オブジェクト
そのものを返します。展開ストリームからの出力は、
出力バッファに保存されます。
require 'zlib'
cstr = "x\234\313\310OOUH+MOTH\3......15K\001\000!\251\004\276"
inz = Zlib::Inflate.new
inz << cstr[0, 10]
p inz.flush_next_out #=> "hoge fu"
inz << cstr[10..-1]
p inz.flush_next_out #=> "ga end"...