Freigeben über


Deflater.SetInput Method

Definition

Overloads

SetInput(Byte[])

Sets input data for compression.

SetInput(Byte[], Int32, Int32)

Sets input data for compression.

SetInput(Byte[])

Sets input data for compression.

[Android.Runtime.Register("setInput", "([B)V", "GetSetInput_arrayBHandler")]
public virtual void SetInput (byte[]? b);
[<Android.Runtime.Register("setInput", "([B)V", "GetSetInput_arrayBHandler")>]
abstract member SetInput : byte[] -> unit
override this.SetInput : byte[] -> unit

Parameters

b
Byte[]

the input data bytes

Attributes

Remarks

Sets input data for compression. This should be called whenever needsInput() returns true indicating that more input data is required.

Java documentation for java.util.zip.Deflater.setInput(byte[]).

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

SetInput(Byte[], Int32, Int32)

Sets input data for compression.

[Android.Runtime.Register("setInput", "([BII)V", "GetSetInput_arrayBIIHandler")]
public virtual void SetInput (byte[]? b, int off, int len);
[<Android.Runtime.Register("setInput", "([BII)V", "GetSetInput_arrayBIIHandler")>]
abstract member SetInput : byte[] * int * int -> unit
override this.SetInput : byte[] * int * int -> unit

Parameters

b
Byte[]

the input data bytes

off
Int32

the start offset of the data

len
Int32

the length of the data

Attributes

Remarks

Sets input data for compression. This should be called whenever needsInput() returns true indicating that more input data is required.

Java documentation for java.util.zip.Deflater.setInput(byte[], int, 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