SetInput Method

SharpZip Compression Library

SharpZip Compression Library

Deflater.SetInput Method

Sets the data which should be compressed next. This should be only called when needsInput indicates that more input is needed. If you call setInput when needsInput() returns false, the previous input that is still pending will be thrown away. The given byte array should not be changed, before needsInput() returns true again. This call is equivalent to

setInput(input, 0, input.length)
.

Overload List

Sets the data which should be compressed next. This should be only called when needsInput indicates that more input is needed. If you call setInput when needsInput() returns false, the previous input that is still pending will be thrown away. The given byte array should not be changed, before needsInput() returns true again. This call is equivalent to

setInput(input, 0, input.length)
.

public void SetInput(byte[]);

Sets the data which should be compressed next. This should be only called when needsInput indicates that more input is needed. The given byte array should not be changed, before needsInput() returns true again.

public void SetInput(byte[],int,int);

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace