mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Tie up some loose ends, implementing methods that are useful but not yet implemented.
This commit is contained in:
@ -15,8 +15,10 @@ public class Inflater {
|
||||
private int length;
|
||||
private boolean needDictionary;
|
||||
private boolean finished;
|
||||
private final boolean nowrap;
|
||||
|
||||
public Inflater(boolean nowrap) {
|
||||
this.nowrap = nowrap;
|
||||
peer = make(nowrap);
|
||||
}
|
||||
|
||||
@ -55,8 +57,11 @@ public class Inflater {
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
// TODO
|
||||
throw new UnsupportedOperationException();
|
||||
dispose();
|
||||
peer = make(nowrap);
|
||||
input = null;
|
||||
offset = length = 0;
|
||||
needDictionary = finished = false;
|
||||
}
|
||||
|
||||
public int inflate(byte[] output) throws DataFormatException {
|
||||
|
Reference in New Issue
Block a user