Share via


Inflater Constructors

Definition

Overloads

Inflater()

Creates a new decompressor.

Inflater(Boolean)

Creates a new decompressor.

Inflater(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Inflater()

Creates a new decompressor.

[Android.Runtime.Register(".ctor", "()V", "")]
public Inflater ();
Attributes

Remarks

Creates a new decompressor.

Java documentation for java.util.zip.Inflater.Inflater().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Inflater(Boolean)

Creates a new decompressor.

[Android.Runtime.Register(".ctor", "(Z)V", "")]
public Inflater (bool nowrap);
[<Android.Runtime.Register(".ctor", "(Z)V", "")>]
new Java.Util.Zip.Inflater : bool -> Java.Util.Zip.Inflater

Parameters

nowrap
Boolean

if true then support GZIP compatible compression

Attributes

Remarks

Creates a new decompressor. If the parameter 'nowrap' is true then the ZLIB header and checksum fields will not be used. This provides compatibility with the compression format used by both GZIP and PKZIP.

Note: When using the 'nowrap' option it is also necessary to provide an extra "dummy" byte as input. This is required by the ZLIB native library in order to support certain optimizations.

Java documentation for java.util.zip.Inflater.Inflater(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Inflater(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Inflater (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Zip.Inflater : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Zip.Inflater

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to