Sets the input. This should only be called, if needsInput() returns true.
[Visual Basic]
Overloads Public Sub SetInput( _
   ByVal buf As Byte(), _
   ByVal off As Integer, _
   ByVal len As Integer _
)
[C#]
public void SetInput(
   byte[] buf,
   int off,
   int len
);
Parameters
buf
the input.
off
the offset into buffer where the input starts.
len
the length of the input.
Exceptions
Exception Type | Condition |
---|---|
System.InvalidOperationException | if no input is needed. |
System.ArgumentOutOfRangeException | if the off and/or len are wrong. |
See Also
Inflater Class | Inflater Members | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Inflater.SetInput Overload List