CountingOutputStreampublic class CountingOutputStream extends OutputStream A simple OutputStream that does nothing but count how many bytes are written to it and
makes that count available to callers. |
Fields Summary |
---|
private long | mCount |
Constructors Summary |
---|
public CountingOutputStream()
|
Methods Summary |
---|
public long | getCount()
return mCount;
| public void | write(int oneByte)
mCount++;
|
|