Inflater.SetInput Method (Byte[], Int32, Int32)

SharpZip Compression Library

SharpZip Compression Library

Inflater.SetInput Method (Byte[], Int32, Int32)

Sets the input. This should only be called, if needsInput() returns true.

public void SetInput(
   byte[] buffer,
   int offset,
   int length
);

Parameters

buffer
The source of input data
offset
The offset into buffer where the input starts.
length
The number of bytes of input to use.

Exceptions

Exception Type Condition
InvalidOperationException No input is needed.
ArgumentOutOfRangeException The off and/or len are wrong.

See Also

Inflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Inflater.SetInput Overload List