Condividi tramite


DeflaterInputStream Constructors

Definition

Overloads

DeflaterInputStream(Stream)

Creates a new input stream with a default compressor and buffer size.

DeflaterInputStream(IntPtr, JniHandleOwnership)

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

DeflaterInputStream(Stream, Deflater)

Creates a new input stream with the specified compressor and a default buffer size.

DeflaterInputStream(Stream, Deflater, Int32)

Creates a new input stream with the specified compressor and buffer size.

DeflaterInputStream(Stream)

Creates a new input stream with a default compressor and buffer size.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public DeflaterInputStream (System.IO.Stream? in);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Java.Util.Zip.DeflaterInputStream : System.IO.Stream -> Java.Util.Zip.DeflaterInputStream

Parameters

in
Stream

input stream to read the uncompressed data to

Attributes

Remarks

Creates a new input stream with a default compressor and buffer size.

Java documentation for java.util.zip.DeflaterInputStream.DeflaterInputStream(java.io.InputStream).

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

DeflaterInputStream(IntPtr, JniHandleOwnership)

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

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

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

DeflaterInputStream(Stream, Deflater)

Creates a new input stream with the specified compressor and a default buffer size.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/util/zip/Deflater;)V", "")]
public DeflaterInputStream (System.IO.Stream? in, Java.Util.Zip.Deflater? defl);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/util/zip/Deflater;)V", "")>]
new Java.Util.Zip.DeflaterInputStream : System.IO.Stream * Java.Util.Zip.Deflater -> Java.Util.Zip.DeflaterInputStream

Parameters

in
Stream

input stream to read the uncompressed data to

defl
Deflater

compressor ("deflater") for this stream

Attributes

Remarks

Creates a new input stream with the specified compressor and a default buffer size.

Java documentation for java.util.zip.DeflaterInputStream.DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater).

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

DeflaterInputStream(Stream, Deflater, Int32)

Creates a new input stream with the specified compressor and buffer size.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/util/zip/Deflater;I)V", "")]
public DeflaterInputStream (System.IO.Stream? in, Java.Util.Zip.Deflater? defl, int bufLen);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;Ljava/util/zip/Deflater;I)V", "")>]
new Java.Util.Zip.DeflaterInputStream : System.IO.Stream * Java.Util.Zip.Deflater * int -> Java.Util.Zip.DeflaterInputStream

Parameters

in
Stream

input stream to read the uncompressed data to

defl
Deflater

compressor ("deflater") for this stream

bufLen
Int32

compression buffer size

Attributes

Remarks

Creates a new input stream with the specified compressor and buffer size.

Java documentation for java.util.zip.DeflaterInputStream.DeflaterInputStream(java.io.InputStream, java.util.zip.Deflater, int).

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