* 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. * @param input the buffer containing the input data. *
(input: Uint8Array, offset: number, count: number)
| 138 | * @param count the number of data bytes of input. |
| 139 | */ |
| 140 | public setInput(input: Uint8Array, offset: number, count: number) { |
| 141 | this._engine.setInput(input, offset, count); |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * Deflates the current input block to the given array. |