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.
[Visual Basic]
Overloads Public Sub SetInput( _
   ByVal input As Byte(), _
   ByVal off As Integer, _
   ByVal len As Integer _
)
[C#]
public void SetInput(
   byte[] input,
   int off,
   int len
);
Parameters
input
the buffer containing the input data.
off
the start of the data.
len
the length of the data.
Exceptions
Exception Type | Condition |
---|---|
System.InvalidOperationException | if the buffer was finished() or ended() or if previous input is still pending. |
See Also
Deflater Class | Deflater Members | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Deflater.SetInput Overload List