Package org.jruby.ext.zlib
Class RubyZlib
java.lang.Object
org.jruby.ext.zlib.RubyZlib
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObjectadler32(IRubyObject recv, IRubyObject[] args) static IRubyObjectadler32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static IRubyObjectcrc_table(IRubyObject recv) static IRubyObjectcrc32(IRubyObject recv, IRubyObject[] args) static IRubyObjectcrc32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static RubyModulecreateZlibModule(Ruby runtime) Create the Zlib module and add it to the Ruby runtime.static IRubyObjectdeflate(IRubyObject recv, IRubyObject[] args) (package private) static intFIXNUMARG(IRubyObject obj, int ifnil) static IRubyObjectinflate(ThreadContext context, IRubyObject recv, IRubyObject string) (package private) static RaiseExceptionnewBufError(Ruby runtime, String message) (package private) static RaiseExceptionnewCRCError(Ruby runtime, String message) (package private) static RaiseExceptionnewDataError(Ruby runtime, String message) (package private) static RaiseExceptionnewDictError(Ruby runtime, String message) (package private) static RaiseExceptionnewGzipFileError(Ruby runtime, String message) (package private) static RaiseExceptionnewGzipFileError(Ruby runtime, String klass, String message) (package private) static RaiseExceptionnewLengthError(Ruby runtime, String message) (package private) static RaiseExceptionnewNoFooter(Ruby runtime, String message) (package private) static RaiseExceptionnewStreamError(Ruby runtime, String message) (package private) static RaiseExceptionnewZlibError(Ruby runtime, String message) (package private) static RaiseExceptionnewZlibError(Ruby runtime, String klass, String message) static IRubyObjectzlib_version(IRubyObject recv)
-
Field Details
-
ZLIB_VERSION
- See Also:
-
VERSION
- See Also:
-
-
Constructor Details
-
RubyZlib
public RubyZlib()
-
-
Method Details
-
createZlibModule
Create the Zlib module and add it to the Ruby runtime. -
zlib_version
-
crc32
-
adler32
-
inflate
-
deflate
-
crc_table
-
crc32_combine
public static IRubyObject crc32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
adler32_combine
public static IRubyObject adler32_combine(IRubyObject recv, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) -
newZlibError
-
newBufError
-
newDictError
-
newStreamError
-
newDataError
-
newZlibError
-
newGzipFileError
-
newCRCError
-
newLengthError
-
newGzipFileError
-
FIXNUMARG
-