implement ByteArrayOutputStream.reset

This commit is contained in:
Joel Dice 2008-09-26 15:29:38 -06:00
parent 93a96f3833
commit a16a00a7fb

View File

@ -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;
}