Top Fields Constructors Methods
org.jruby.ext.zlib

public Class JZlibInflate

extends ZStream
Class Inheritance
Annotations
@JRubyClass
name:Zlib::Inflate
parent:Zlib::ZStream
Imports
com.jcraft.jzlib.JZlib, org.jruby.*, org.jruby.anno.JRubyClass, .JRubyMethod, org.jruby.runtime.Arity, .Block, .ObjectAllocator, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.ByteList

Field Summary

Modifier and TypeField and Description
public static final int
private byte[]
private int
private Inflater
flater

References Deprecated Inflater is deprecated or references (maybe indirectly) at least one deprecated element.
private ByteList
private int
Inherited from org.jruby.ext.zlib.ZStream:
closed

Constructor Summary

AccessConstructor and Description
public
JZlibInflate(Ruby runtime, RubyClass type)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
_initialize(IRubyObject[] args)
Deprecated

public IRubyObject
public IRubyObject
public void
append(ByteList obj)
Deprecated since 10.0.

public void
public IRubyObject
public IRubyObject
private IRubyObject
public IRubyObject
inflate(ThreadContext context, IRubyObject string, Block block)

public IRubyObject
inflate(ThreadContext context, ByteList str, Block block)

private void
init(int windowBits)

protected long
protected void
protected IRubyObject
protected boolean
protected void
protected boolean
protected int
protected int
private static void
private void
run(ThreadContext context, boolean finish)

public static IRubyObject
public IRubyObject
public IRubyObject
sync(ThreadContext context, IRubyObject string)

public IRubyObject
sync_point()
Deprecated since 10.0.

public IRubyObject
public IRubyObject
sync_point_p()
Deprecated since 10.0.

public IRubyObject
Inherited from org.jruby.ext.zlib.ZStream:
adleradleravail_inavail_outavail_outcheckClosedcheckClosedcheckLevelcheckStrategycheckStrategycheckWindowBitsclosecloseclosed_pclosed_pdata_typedata_typefinishfinished_pflush_next_ininitializeinternalFinishinternalResetresetresetset_avail_outset_avail_outstream_end_pstream_end_ptotal_intotal_intotal_outtotal_out

Field Detail

BASE_SIZEback to summary
public static final int BASE_SIZE
collectedback to summary
private byte[] collected
collectedIdxback to summary
private int collectedIdx
flaterback to summary
private Inflater flater

References Deprecated

Inflater is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

inputback to summary
private ByteList input
windowBitsback to summary
private int windowBits

Constructor Detail

JZlibInflateback to summary
public JZlibInflate(Ruby runtime, RubyClass type)

Method Detail

_initializeback to summary
public IRubyObject _initialize(IRubyObject[] args)

Deprecated

Annotations
@Deprecated
_initializeback to summary
public IRubyObject _initialize(ThreadContext context, IRubyObject[] args)
Annotations
@JRubyMethod
name:initialize
optional:1
checkArity:false
visibility:PRIVATE
appendback to summary
public IRubyObject append(ThreadContext context, IRubyObject arg)
Annotations
@JRubyMethod
name:<<
appendback to summary
public void append(ByteList obj)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
appendback to summary
public void append(ThreadContext context, ByteList obj)
avail_inback to summary
public IRubyObject avail_in(ThreadContext context)

Overrides org.jruby.ext.zlib.ZStream.avail_in.

Annotations
@Override
flush_next_outback to summary
public IRubyObject flush_next_out(ThreadContext context, Block block)

Overrides org.jruby.ext.zlib.ZStream.flush_next_out.

Annotations
@Override
@JRubyMethod
name:flush_next_out
flushOutputback to summary
private IRubyObject flushOutput(ThreadContext context, Block block)
inflateback to summary
public IRubyObject inflate(ThreadContext context, IRubyObject string, Block block)
Annotations
@JRubyMethod
name:inflate
inflateback to summary
public IRubyObject inflate(ThreadContext context, ByteList str, Block block)
initback to summary
private void init(int windowBits)
internalAdlerback to summary
protected long internalAdler()

Implements abstract org.jruby.ext.zlib.ZStream.internalAdler.

Annotations
@Override
internalCloseback to summary
protected void internalClose()

Implements abstract org.jruby.ext.zlib.ZStream.internalClose.

Annotations
@Override
internalFinishback to summary
protected IRubyObject internalFinish(ThreadContext context, Block block)

Overrides org.jruby.ext.zlib.ZStream.internalFinish.

Annotations
@Override
internalFinishedback to summary
protected boolean internalFinished()

Implements abstract org.jruby.ext.zlib.ZStream.internalFinished.

Annotations
@Override
internalResetback to summary
protected void internalReset(ThreadContext context)

Overrides org.jruby.ext.zlib.ZStream.internalReset.

Annotations
@Override
internalStreamEndPback to summary
protected boolean internalStreamEndP()

Implements abstract org.jruby.ext.zlib.ZStream.internalStreamEndP.

Annotations
@Override
internalTotalInback to summary
protected int internalTotalIn()

Implements abstract org.jruby.ext.zlib.ZStream.internalTotalIn.

Annotations
@Override
internalTotalOutback to summary
protected int internalTotalOut()

Implements abstract org.jruby.ext.zlib.ZStream.internalTotalOut.

Annotations
@Override
resetBufferback to summary
private static void resetBuffer(ByteList l)
runback to summary
private void run(ThreadContext context, boolean finish)
s_inflateback to summary
public static IRubyObject s_inflate(ThreadContext context, IRubyObject recv, IRubyObject string)
Annotations
@JRubyMethod
name:inflate
meta:true
set_dictionaryback to summary
public IRubyObject set_dictionary(ThreadContext context, IRubyObject arg)
Annotations
@JRubyMethod
name:set_dictionary
syncback to summary
public IRubyObject sync(ThreadContext context, IRubyObject string)
Annotations
@JRubyMethod
name:sync
sync_pointback to summary
public IRubyObject sync_point()

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
sync_pointback to summary
public IRubyObject sync_point(ThreadContext context)
sync_point_pback to summary
public IRubyObject sync_point_p()

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
sync_point_pback to summary
public IRubyObject sync_point_p(ThreadContext context)
Annotations
@JRubyMethod
name:sync_point?