mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
implement ByteArrayOutputStream.reset
This commit is contained in:
parent
93a96f3833
commit
a16a00a7fb
@ -24,6 +24,13 @@ public class ByteArrayOutputStream extends OutputStream {
|
||||
this(0);
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
chain = null;
|
||||
length = 0;
|
||||
buffer = null;
|
||||
position = 0;
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return length;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user